[llvm-commits] [llvm] r138908 - in /llvm/trunk/test/Transforms/ADCE: 2003-09-10-UnwindInstFail.ll 2005-02-17-PHI-Invoke-Crash.ll dce_pure_invoke.ll
Bill Wendling
isanbard at gmail.com
Wed Aug 31 14:50:07 PDT 2011
Author: void
Date: Wed Aug 31 16:50:07 2011
New Revision: 138908
URL: http://llvm.org/viewvc/llvm-project?rev=138908&view=rev
Log:
Update to new EH scheme.
Modified:
llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll
llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll
Modified: llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll?rev=138908&r1=138907&r2=138908&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll (original)
+++ llvm/trunk/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll Wed Aug 31 16:50:07 2011
@@ -8,7 +8,9 @@
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 @@
ret void
}
+declare i32 @__gxx_personality_v0(...)
Modified: llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll?rev=138908&r1=138907&r2=138908&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll (original)
+++ llvm/trunk/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll Wed Aug 31 16:50:07 2011
@@ -15,6 +15,8 @@
br i1 false, label %then.0, label %else.0
invoke_catch.0: ; preds = %entry
+ %exn.0 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
invoke void @q_atomic_decrement( )
to label %tmp.1.i.i183.noexc unwind label %terminate
@@ -26,6 +28,8 @@
to label %invoke_cont.1 unwind label %invoke_catch.1
invoke_catch.1: ; preds = %then.0
+ %exn.1 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
invoke void @q_atomic_decrement( )
to label %tmp.1.i.i162.noexc unwind label %terminate
@@ -40,6 +44,9 @@
terminate: ; preds = %invoke_catch.1, %invoke_catch.0
%dbg.0.1 = phi { }* [ null, %invoke_catch.1 ], [ null, %invoke_catch.0 ] ; <{ }*> [#uses=0]
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
unreachable
}
+declare i32 @__gxx_personality_v0(...)
Modified: llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll?rev=138908&r1=138907&r2=138908&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll (original)
+++ llvm/trunk/test/Transforms/ADCE/dce_pure_invoke.ll Wed Aug 31 16:50:07 2011
@@ -11,5 +11,9 @@
ret i32 0
Other: ; preds = %0
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
ret i32 1
}
+
+declare i32 @__gxx_personality_v0(...)
More information about the llvm-commits
mailing list