CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / fold-call-2.ll
index fe060a7ea5a78483a66dc2f3bcd58f0a6d640a3d..b5e2606410f0cd2754ff12e34f3c27eb08f3b3e0 100644 (file)
@@ -1,11 +1,10 @@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin | grep mov | count 1
-; XFAIL: *
+; RUN: llc < %s -mtriple=i386-apple-darwin | grep mov | count 1
 
 @f = external global void ()*          ; <void ()**> [#uses=1]
 
 define i32 @main() nounwind {
 entry:
-       load void ()** @f, align 8              ; <void ()*>:0 [#uses=1]
+       load void ()*, void ()** @f, align 8            ; <void ()*>:0 [#uses=1]
        tail call void %0( ) nounwind
        ret i32 0
 }