1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i386-apple-darwin | FileCheck %s
4 @f = external global ptr ; <ptr> [#uses=1]
6 define i32 @main() nounwind {
8 ; CHECK: ## %bb.0: ## %entry
9 ; CHECK-NEXT: subl $12, %esp
10 ; CHECK-NEXT: movl L_f$non_lazy_ptr, %eax
11 ; CHECK-NEXT: calll *(%eax)
12 ; CHECK-NEXT: xorl %eax, %eax
13 ; CHECK-NEXT: addl $12, %esp
16 load ptr, ptr @f, align 8 ; <ptr>:0 [#uses=1]
17 tail call void %0( ) nounwind