1 ; RUN: llc -mtriple=x86_64-apple-darwin < %s | FileCheck %s
3 declare void @lazy() nonlazybind
8 ; CHECK: callq *_lazy@GOTPCREL(%rip)
9 define void @foo() nounwind {
15 ; CHECK-LABEL: tail_call_regular:
17 define void @tail_call_regular() nounwind {
22 ; CHECK-LABEL: tail_call_eager:
23 ; CHECK: jmpq *_lazy@GOTPCREL(%rip)
24 define void @tail_call_eager() nounwind {
25 tail call void @lazy()