[llvm-commits] [llvm] r138606 - in /llvm/trunk/test: Assembler/2003-06-17-InvokeDisassemble.ll CodeGen/Generic/2004-02-08-UnwindSupport.ll CodeGen/Generic/2007-02-25-invoke.ll CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll CodeGen/Generic/2007-12-17-InvokeAsm.ll CodeGen/Generic/2007-12-31-UnusedSelector.ll CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll CodeGen/Generic/2009-11-16-BadKillsCrash.ll CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll
Bill Wendling
isanbard at gmail.com
Thu Aug 25 16:48:38 PDT 2011
Author: void
Date: Thu Aug 25 18:48:37 2011
New Revision: 138606
URL: http://llvm.org/viewvc/llvm-project?rev=138606&view=rev
Log:
Update to the new EH scheme.
Modified:
llvm/trunk/test/Assembler/2003-06-17-InvokeDisassemble.ll
llvm/trunk/test/CodeGen/Generic/2004-02-08-UnwindSupport.ll
llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll
llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll
llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll
llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll
llvm/trunk/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll
llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll
llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll
Modified: llvm/trunk/test/Assembler/2003-06-17-InvokeDisassemble.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Assembler/2003-06-17-InvokeDisassemble.ll?rev=138606&r1=138605&r2=138606&view=diff
==============================================================================
--- llvm/trunk/test/Assembler/2003-06-17-InvokeDisassemble.ll (original)
+++ llvm/trunk/test/Assembler/2003-06-17-InvokeDisassemble.ll Thu Aug 25 18:48:37 2011
@@ -1,9 +1,13 @@
; RUN: llvm-as < %s | llvm-dis
define void @test() {
- invoke void @test( )
- to label %Next unwind label %Next
+ invoke void @test( )
+ to label %Next unwind label %Next
Next: ; preds = %0, %0
- ret void
+ %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ ret void
}
+
+declare i32 @__gxx_personality_v0(...)
Modified: llvm/trunk/test/CodeGen/Generic/2004-02-08-UnwindSupport.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2004-02-08-UnwindSupport.ll?rev=138606&r1=138605&r2=138606&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2004-02-08-UnwindSupport.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2004-02-08-UnwindSupport.ll Thu Aug 25 18:48:37 2011
@@ -12,6 +12,9 @@
ret i32 1
EH: ; preds = %0
- ret i32 0
+ %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ ret i32 0
}
+declare i32 @__gxx_personality_v0(...)
Modified: llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll?rev=138606&r1=138605&r2=138606&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-02-25-invoke.ll Thu Aug 25 18:48:37 2011
@@ -8,5 +8,9 @@
invcont:
ret i32 %A
blat:
- ret i32 0
+ %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ ret i32 0
}
+
+declare i32 @__gxx_personality_v0(...)
Modified: llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll?rev=138606&r1=138605&r2=138606&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll Thu Aug 25 18:48:37 2011
@@ -45,7 +45,9 @@
ret void
cond_true1402: ; preds = %invcont282, %cond_false280, %cond_true235, %cond_true
- ret void
+ %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ ret void
}
declare void @_ZNSs14_M_replace_auxEjjjc()
@@ -57,3 +59,5 @@
declare void @_ZNSs7reserveEj()
declare void @_ZNSs6appendEPKcj()
+
+declare i32 @__gxx_personality_v0(...)
Modified: llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll?rev=138606&r1=138605&r2=138606&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll Thu Aug 25 18:48:37 2011
@@ -2,12 +2,16 @@
define fastcc void @bc__support__high_resolution_time__initialize_clock_rate() {
entry:
- invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
- to label %.noexc unwind label %cleanup144
+ invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{flags},~{dx},~{ax}"( i32* null, i32* null )
+ to label %.noexc unwind label %cleanup144
.noexc: ; preds = %entry
- ret void
+ ret void
cleanup144: ; preds = %entry
- unwind
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ unwind
}
+
+declare i32 @__gxx_personality_v0(...)
Modified: llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll?rev=138606&r1=138605&r2=138606&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll Thu Aug 25 18:48:37 2011
@@ -14,11 +14,14 @@
unreachable
lpad: ; preds = %entry
+ %lpad1 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ catch i8* null
invoke void @__cxa_end_catch( )
to label %bb14 unwind label %lpad17
lpad17: ; preds = %lpad
- %eh_select20 = tail call i32 (i8*, i8*, ...)* @llvm.eh.selector.i32( i8* null, i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*), i8* null ) ; <i32> [#uses=0]
+ %lpad2 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ catch i8* null
unreachable
UnifiedUnreachableBlock: ; preds = %entry
Modified: llvm/trunk/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll?rev=138606&r1=138605&r2=138606&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll Thu Aug 25 18:48:37 2011
@@ -11,5 +11,9 @@
invoke i32 @b() to label %reg unwind label %reg
reg:
+ %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ catch i8* null
ret void
}
+
+declare i32 @__gxx_personality_v0(...)
Modified: llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll?rev=138606&r1=138605&r2=138606&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll Thu Aug 25 18:48:37 2011
@@ -64,10 +64,16 @@
lpad: ; preds = %bb.i93, %invcont24, %bb1.i, %invcont8
%__extracted.1 = phi i32 [ 0, %invcont8 ], [ %2, %bb1.i ], [ undef, %bb.i93 ], [ undef, %invcont24 ] ; <i32> [#uses=0]
- %eh_ptr = call i8* @llvm.eh.exception() ; <i8*> [#uses=1]
+ %lpad1 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ catch i8* null
+ %eh_ptr = extractvalue { i8*, i32 } %lpad1, 0
%6 = call i8* @__cxa_begin_catch(i8* %eh_ptr) nounwind ; <i8*> [#uses=0]
unreachable
lpad74: ; preds = %entry
+ %lpad2 = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ cleanup
unreachable
}
+
+declare i32 @__gxx_personality_v0(...)
Modified: llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll?rev=138606&r1=138605&r2=138606&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll (original)
+++ llvm/trunk/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll Thu Aug 25 18:48:37 2011
@@ -13,6 +13,9 @@
ret void
handler:
+ %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ catch i8* null
ret void
}
+declare i32 @__gxx_personality_v0(...)
More information about the llvm-commits
mailing list