summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit934b374bc8e5d17b68bb825e9d606764214f2377 (patch)
tree3b1d17ac2db13e1b16300d84749c4446788912a2 /llvm/test/CodeGen/X86/fold-call-2.ll
parent5b836c5f77126b34298a0e92d6ed1f4190e61745 (diff)
downloadbcm5719-llvm-934b374bc8e5d17b68bb825e9d606764214f2377.tar.gz
bcm5719-llvm-934b374bc8e5d17b68bb825e9d606764214f2377.zip
Fix this test. Don't null out the file, just XFAIL it until patch can be fixed.
llvm-svn: 55296
Diffstat (limited to 'llvm/test/CodeGen/X86/fold-call-2.ll')
-rw-r--r--llvm/test/CodeGen/X86/fold-call-2.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/fold-call-2.ll b/llvm/test/CodeGen/X86/fold-call-2.ll
index e69de29bb2d..fe060a7ea5a 100644
--- a/llvm/test/CodeGen/X86/fold-call-2.ll
+++ b/llvm/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
+}
OpenPOWER on IntegriCloud