From cbb94f14067f574e835d25b0492e569b0bb9103a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 19 Apr 2008 22:32:52 +0000 Subject: rename *.llx -> *.ll, last batch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49971 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/LowerInvoke/2003-12-10-Crash.ll | 22 ++++++++++++++++++++++ test/Transforms/LowerInvoke/2003-12-10-Crash.llx | 22 ---------------------- test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll | 15 +++++++++++++++ .../Transforms/LowerInvoke/2004-02-29-PHICrash.llx | 15 --------------- 4 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 test/Transforms/LowerInvoke/2003-12-10-Crash.ll delete mode 100644 test/Transforms/LowerInvoke/2003-12-10-Crash.llx create mode 100644 test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll delete mode 100644 test/Transforms/LowerInvoke/2004-02-29-PHICrash.llx (limited to 'test/Transforms/LowerInvoke') diff --git a/test/Transforms/LowerInvoke/2003-12-10-Crash.ll b/test/Transforms/LowerInvoke/2003-12-10-Crash.ll new file mode 100644 index 0000000..1e8b880 --- /dev/null +++ b/test/Transforms/LowerInvoke/2003-12-10-Crash.ll @@ -0,0 +1,22 @@ +; This testcase was reduced from Shootout-C++/reversefile.cpp by bugpoint + +; RUN: llvm-as < %s | opt -lowerinvoke -disable-output + +declare void @baz() + +declare void @bar() + +define void @foo() { +then: + invoke void @baz( ) + to label %invoke_cont.0 unwind label %try_catch +invoke_cont.0: ; preds = %then + invoke void @bar( ) + to label %try_exit unwind label %try_catch +try_catch: ; preds = %invoke_cont.0, %then + %__tmp.0 = phi i32* [ null, %invoke_cont.0 ], [ null, %then ] ; [#uses=0] + ret void +try_exit: ; preds = %invoke_cont.0 + ret void +} + diff --git a/test/Transforms/LowerInvoke/2003-12-10-Crash.llx b/test/Transforms/LowerInvoke/2003-12-10-Crash.llx deleted file mode 100644 index 1e8b880..0000000 --- a/test/Transforms/LowerInvoke/2003-12-10-Crash.llx +++ /dev/null @@ -1,22 +0,0 @@ -; This testcase was reduced from Shootout-C++/reversefile.cpp by bugpoint - -; RUN: llvm-as < %s | opt -lowerinvoke -disable-output - -declare void @baz() - -declare void @bar() - -define void @foo() { -then: - invoke void @baz( ) - to label %invoke_cont.0 unwind label %try_catch -invoke_cont.0: ; preds = %then - invoke void @bar( ) - to label %try_exit unwind label %try_catch -try_catch: ; preds = %invoke_cont.0, %then - %__tmp.0 = phi i32* [ null, %invoke_cont.0 ], [ null, %then ] ; [#uses=0] - ret void -try_exit: ; preds = %invoke_cont.0 - ret void -} - diff --git a/test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll b/test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll new file mode 100644 index 0000000..0777013 --- /dev/null +++ b/test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll @@ -0,0 +1,15 @@ +; RUN: llvm-as < %s | opt -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 ] ; [#uses=0] + ret void +} + +declare void @_Znwj() + diff --git a/test/Transforms/LowerInvoke/2004-02-29-PHICrash.llx b/test/Transforms/LowerInvoke/2004-02-29-PHICrash.llx deleted file mode 100644 index 0777013..0000000 --- a/test/Transforms/LowerInvoke/2004-02-29-PHICrash.llx +++ /dev/null @@ -1,15 +0,0 @@ -; RUN: llvm-as < %s | opt -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 ] ; [#uses=0] - ret void -} - -declare void @_Znwj() - -- cgit v1.1