summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/fold-call-2.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-08-24 21:48:46 +0000
committerBill Wendling <isanbard@gmail.com>2008-08-24 21:48:46 +0000
commit3574c2d8492646fbf2857ed60f52275ff169e750 (patch)
tree170fb81096997471b66da1f71c52fdab5f78c1f9 /test/CodeGen/X86/fold-call-2.ll
parent59b63e4a1827b4096c997eec0983aecb3676695f (diff)
downloadllvm-3574c2d8492646fbf2857ed60f52275ff169e750.tar.gz
llvm-3574c2d8492646fbf2857ed60f52275ff169e750.tar.bz2
llvm-3574c2d8492646fbf2857ed60f52275ff169e750.tar.xz
Fix this test. Don't null out the file, just XFAIL it until patch can be fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55296 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/fold-call-2.ll')
-rw-r--r--test/CodeGen/X86/fold-call-2.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fold-call-2.ll b/test/CodeGen/X86/fold-call-2.ll
index e69de29bb2..fe060a7ea5 100644
--- a/test/CodeGen/X86/fold-call-2.ll
+++ b/test/CodeGen/X86/fold-call-2.ll
@@ -0,0 +1,11 @@
+; 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
+}