llvm-6502/test/CodeGen/X86/fold-call-2.ll
2008-08-24 21:48:46 +00:00

12 lines
277 B
LLVM

; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep mov | count 1
; XFAIL: *
@f = external global void ()* ; <void ()**> [#uses=1]
define i32 @main() nounwind {
entry:
load void ()** @f, align 8 ; <void ()*>:0 [#uses=1]
tail call void %0( ) nounwind
ret i32 0
}