summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-05-11 03:27:17 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-05-11 03:27:17 +0000
commit2a09d65979bc4cf872d56fcc88a19e4fa0034c9e (patch)
tree4d89b6b0a4b81a6f2f99c0cba1b73d5102ebff60 /llvm/test
parent3abc9b8b7990e3e6ea4623dbed3991aac7b1601c (diff)
downloadbcm5719-llvm-2a09d65979bc4cf872d56fcc88a19e4fa0034c9e.tar.gz
bcm5719-llvm-2a09d65979bc4cf872d56fcc88a19e4fa0034c9e.zip
Revert 131172 as it is causing clang to miscompile itself. I will try
to provide a reduced testcase. llvm-svn: 131176
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/hoist-common.ll28
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/test/CodeGen/X86/hoist-common.ll b/llvm/test/CodeGen/X86/hoist-common.ll
deleted file mode 100644
index 2b1550a4ffa..00000000000
--- a/llvm/test/CodeGen/X86/hoist-common.ll
+++ /dev/null
@@ -1,28 +0,0 @@
-; RUN: llc < %s -march=x86-64 | FileCheck %s
-
-; Common "xorb al, al" instruction in the two successor blocks should be
-; moved to the entry block above the test + je.
-
-; rdar://9145558
-
-define zeroext i1 @t(i32 %c) nounwind ssp {
-entry:
-; CHECK: t:
-; CHECK: xorb %al, %al
-; CHECK: test
-; CHECK: je
- %tobool = icmp eq i32 %c, 0
- br i1 %tobool, label %return, label %if.then
-
-if.then:
-; CHECK: callq
- %call = tail call zeroext i1 (...)* @foo() nounwind
- br label %return
-
-return:
-; CHECK: ret
- %retval.0 = phi i1 [ %call, %if.then ], [ false, %entry ]
- ret i1 %retval.0
-}
-
-declare zeroext i1 @foo(...)
OpenPOWER on IntegriCloud