Try to eliminate the use of the 'unwind' instruction.
[oota-llvm.git] / test / Transforms / SimplifyCFG / 2009-01-19-UnconditionalTrappingConstantExpr.ll
index 33167bd5c661d1aa9d9ffdd62a3c1f6db0fde07b..568e61c6ac6de9fdc83d062a06ef3056583e1148 100644 (file)
@@ -15,7 +15,7 @@ bb2:
        ret i32 42
 
 bb6:
-       unwind
+       ret i32 927
 }
 
 define i32 @test2(i32 %tmp21, i32 %tmp24, i1 %tmp34) {
@@ -26,6 +26,6 @@ bb5:          ; preds = %bb4
 bb6:
        ret i32 42
 bb7:
-       unwind
+       ret i32 927
 }