You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
27
external/llvm/test/CodeGen/X86/non-lazy-bind.ll
vendored
Normal file
27
external/llvm/test/CodeGen/X86/non-lazy-bind.ll
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
; 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
|
||||
}
|
Reference in New Issue
Block a user