brintos

brintos / llvm-project-archived public Read only

0
0
Text · 562 B · 92b7a76 Raw
20 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i386-apple-darwin | FileCheck %s3 4@f = external global ptr		; <ptr> [#uses=1]5 6define i32 @main() nounwind {7; CHECK-LABEL: main:8; CHECK:       ## %bb.0: ## %entry9; CHECK-NEXT:    subl $12, %esp10; CHECK-NEXT:    movl L_f$non_lazy_ptr, %eax11; CHECK-NEXT:    calll *(%eax)12; CHECK-NEXT:    xorl %eax, %eax13; CHECK-NEXT:    addl $12, %esp14; CHECK-NEXT:    retl15entry:16	load ptr, ptr @f, align 8		; <ptr>:0 [#uses=1]17	tail call void %0( ) nounwind18	ret i32 019}20