diff options
Diffstat (limited to 'test/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll')
-rw-r--r-- | test/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll b/test/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll new file mode 100644 index 0000000..f06d341 --- /dev/null +++ b/test/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll @@ -0,0 +1,15 @@ +; RUN: llc < %s +; This crashed the PPC backend. + +define void @test() { + %tmp125 = fcmp uno double 0.000000e+00, 0.000000e+00 ; <i1> [#uses=1] + br i1 %tmp125, label %bb154, label %cond_false133 + +cond_false133: ; preds = %0 + ret void + +bb154: ; preds = %0 + %tmp164 = icmp eq i32 0, 0 ; <i1> [#uses=0] + ret void +} + |