summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/CodeGen/Generic
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 20:52:00 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 20:52:00 +0000
commit77443b7dc06dbe523b597e69f42115d918f51a24 (patch)
treea8c92e6549edad3123abd50e358c4a497379045c /llvm/test/Regression/CodeGen/Generic
parent251468e9d0a9a1a384bca7f4c0b4d212f85670a5 (diff)
downloadbcm5719-llvm-77443b7dc06dbe523b597e69f42115d918f51a24.tar.gz
bcm5719-llvm-77443b7dc06dbe523b597e69f42115d918f51a24.zip
Move this test from Codegen/PowerPC to CodeGen/Generic. It fails on ia64,
but that's not the ppc backend's fault. llvm-svn: 29914
Diffstat (limited to 'llvm/test/Regression/CodeGen/Generic')
-rw-r--r--llvm/test/Regression/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll16
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll b/llvm/test/Regression/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll
new file mode 100644
index 00000000000..5f5aed43e37
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll
@@ -0,0 +1,16 @@
+; RUN: llvm-as < %s | llc
+; This crashed the PPC backend.
+
+void %test() {
+ %tmp125 = call bool %llvm.isunordered.f64( double 0.000000e+00, double 0.000000e+00 ) ; <bool> [#uses=1]
+ br bool %tmp125, label %bb154, label %cond_false133
+
+cond_false133: ; preds = %entry
+ ret void
+
+bb154: ; preds = %entry
+ %tmp164 = seteq uint 0, 0 ; <bool> [#uses=0]
+ ret void
+}
+
+declare bool %llvm.isunordered.f64(double, double)
OpenPOWER on IntegriCloud