Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/X86/non-lazy-bind.ll @ 33:e4204d083e25
LLVM 3.5
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 14:32:10 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
; RUN: llc -mtriple=x86_64-apple-darwin < %s | FileCheck %s declare void @lazy() nonlazybind declare void @not() ; CHECK-LABEL: foo: ; CHECK: callq _not ; CHECK: callq *_lazy@GOTPCREL(%rip) define void @foo() nounwind { call void @not() call void @lazy() ret void } ; CHECK-LABEL: tail_call_regular: ; CHECK: jmp _not define void @tail_call_regular() nounwind { tail call void @not() ret void } ; CHECK-LABEL: tail_call_eager: ; CHECK: jmpq *_lazy@GOTPCREL(%rip) define void @tail_call_eager() nounwind { tail call void @lazy() ret void }