diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2014-03-20 19:54:47 +0000 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2014-03-20 19:54:47 +0000 |
commit | 9bb9615e1fd8e3d2654d3fe394ee6f486a0cb8a5 (patch) | |
tree | d1baa3bc6eb39e5dfb5656dac0c443b0aed83b69 /test | |
parent | 56210e69eb3e26cd62391055e2054bf34342c119 (diff) | |
download | llvm-9bb9615e1fd8e3d2654d3fe394ee6f486a0cb8a5.tar.gz llvm-9bb9615e1fd8e3d2654d3fe394ee6f486a0cb8a5.tar.bz2 llvm-9bb9615e1fd8e3d2654d3fe394ee6f486a0cb8a5.tar.xz |
Remove LowerInvoke's obsolete "-enable-correct-eh-support" option
This option caused LowerInvoke to generate code using SJLJ-based
exception handling, but there is no code left that interprets the
jmp_buf stack that the resulting code maintained (llvm.sjljeh.jblist).
This option has been obsolete for a while, and replaced by
SjLjEHPrepare.
This leaves the default behaviour of LowerInvoke, which is to convert
invokes to calls.
Differential Revision: http://llvm-reviews.chandlerc.com/D3136
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
5 files changed, 0 insertions, 91 deletions
diff --git a/test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll b/test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll deleted file mode 100644 index bddb70248e..0000000000 --- a/test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll +++ /dev/null @@ -1,15 +0,0 @@ -; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output - -define void @_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() { -entry: - br i1 false, label %then, label %UnifiedReturnBlock -then: ; preds = %entry - invoke void @_Znwj( ) - to label %UnifiedReturnBlock unwind label %UnifiedReturnBlock -UnifiedReturnBlock: ; preds = %then, %then, %entry - %UnifiedRetVal = phi i32* [ null, %entry ], [ null, %then ], [ null, %then ] ; <i32*> [#uses=0] - ret void -} - -declare void @_Znwj() - diff --git a/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll b/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll deleted file mode 100644 index 1057ad7057..0000000000 --- a/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHI.ll +++ /dev/null @@ -1,17 +0,0 @@ -; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output - -declare void @ll_listnext__listiterPtr() - -define void @WorkTask.fn() { -block0: - invoke void @ll_listnext__listiterPtr( ) - to label %block9 unwind label %block8_exception_handling -block8_exception_handling: ; preds = %block0 - ret void -block9: ; preds = %block0 - %w_2690 = phi { i32, i32 }* [ null, %block0 ] ; <{ i32, i32 }*> [#uses=1] - %tmp.129 = getelementptr { i32, i32 }* %w_2690, i32 0, i32 1 ; <i32*> [#uses=1] - %v2769 = load i32* %tmp.129 ; <i32> [#uses=0] - ret void -} - diff --git a/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHIUse.ll b/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHIUse.ll deleted file mode 100644 index 940204649c..0000000000 --- a/test/Transforms/LowerInvoke/2005-08-03-InvokeWithPHIUse.ll +++ /dev/null @@ -1,15 +0,0 @@ -; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output - -declare fastcc i32 @ll_listnext__listiterPtr() - -define fastcc i32 @WorkTask.fn() { -block0: - %v2679 = invoke fastcc i32 @ll_listnext__listiterPtr( ) - to label %block9 unwind label %block8_exception_handling ; <i32> [#uses=1] -block8_exception_handling: ; preds = %block0 - ret i32 0 -block9: ; preds = %block0 - %i_2689 = phi i32 [ %v2679, %block0 ] ; <i32> [#uses=1] - ret i32 %i_2689 -} - diff --git a/test/Transforms/LowerInvoke/2008-02-14-CritEdgePhiCrash.ll b/test/Transforms/LowerInvoke/2008-02-14-CritEdgePhiCrash.ll deleted file mode 100644 index b46ccfbb79..0000000000 --- a/test/Transforms/LowerInvoke/2008-02-14-CritEdgePhiCrash.ll +++ /dev/null @@ -1,14 +0,0 @@ -; RUN: opt < %s -lowerinvoke -enable-correct-eh-support -disable-output -; PR2029 -define i32 @main(i32 %argc, i8** %argv) { -bb470: - invoke i32 @main(i32 0, i8** null) to label %invcont474 unwind label -%lpad902 - -invcont474: ; preds = %bb470 - ret i32 0 - -lpad902: ; preds = %bb470 - %tmp471.lcssa = phi i8* [ null, %bb470 ] ; <i8*> - ret i32 0 -} diff --git a/test/Transforms/LowerInvoke/basictest.ll b/test/Transforms/LowerInvoke/basictest.ll deleted file mode 100644 index f0ca5f4253..0000000000 --- a/test/Transforms/LowerInvoke/basictest.ll +++ /dev/null @@ -1,30 +0,0 @@ -; RUN: opt < %s -lowerinvoke -disable-output -enable-correct-eh-support - - -define i32 @foo() { - invoke i32 @foo( ) - to label %Ok unwind label %Crap ; <i32>:1 [#uses=0] -Ok: ; preds = %0 - invoke i32 @foo( ) - to label %Ok2 unwind label %Crap ; <i32>:2 [#uses=0] -Ok2: ; preds = %Ok - ret i32 2 -Crap: ; preds = %Ok, %0 - ret i32 1 -} - -define i32 @bar(i32 %blah) { - br label %doit -doit: ; preds = %0 - ;; Value live across an unwind edge. - %B2 = add i32 %blah, 1 ; <i32> [#uses=1] - invoke i32 @foo( ) - to label %Ok unwind label %Crap ; <i32>:1 [#uses=0] -Ok: ; preds = %doit - invoke i32 @foo( ) - to label %Ok2 unwind label %Crap ; <i32>:2 [#uses=0] -Ok2: ; preds = %Ok - ret i32 2 -Crap: ; preds = %Ok, %doit - ret i32 %B2 -} |