[test/Transforms/InstCombine/shift.ll] Removed duplicate test cases. NFC.
[oota-llvm.git] / test / Transforms / ADCE / 2003-09-10-UnwindInstFail.ll
index e6345c13eba3b306a990fdc110bde63231cfe137..6bbcfdb67ec58b1201597f50857d1a642e5e9f49 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | opt -adce -disable-output
+; RUN: opt < %s -adce -disable-output
 
 define void @test() {
         br i1 false, label %then, label %endif
@@ -8,7 +8,9 @@ then:           ; preds = %0
                         to label %invoke_cont unwind label %invoke_catch
 
 invoke_catch:           ; preds = %then
-        unwind
+        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+                 cleanup
+        resume { i8*, i32 } %exn
 
 invoke_cont:            ; preds = %then
         ret void
@@ -17,3 +19,4 @@ endif:          ; preds = %0
         ret void
 }
 
+declare i32 @__gxx_personality_v0(...)