diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-18 19:16:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-18 19:16:07 +0000 |
commit | 97f8f8d8f2fbd8cec564f1122c19f9606a0028a1 (patch) | |
tree | fbdc6362b23324eaee775076b3503b2e7a2211b5 | |
parent | 4090aee72e0f29976c9b1e7a0e0c7b4456f645b5 (diff) |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25420 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/PowerPC/2006-01-18-InvalidBranchOpcodeAssert.ll | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/2006-01-18-InvalidBranchOpcodeAssert.ll b/test/CodeGen/PowerPC/2006-01-18-InvalidBranchOpcodeAssert.ll new file mode 100644 index 0000000000..5f5aed43e3 --- /dev/null +++ b/test/CodeGen/PowerPC/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) |