aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-19 22:32:52 +0000
committerChris Lattner <sabre@nondot.org>2008-04-19 22:32:52 +0000
commit5ae21fb23a55427738132a39c8df550c9c1d0771 (patch)
treec6eb6b32b7cc36629c9abb53e6974aafe6dbf32f /test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll
parent1ce9e00f8b449be9bcf34d16fadaacf074a16362 (diff)
downloadexternal_llvm-5ae21fb23a55427738132a39c8df550c9c1d0771.zip
external_llvm-5ae21fb23a55427738132a39c8df550c9c1d0771.tar.gz
external_llvm-5ae21fb23a55427738132a39c8df550c9c1d0771.tar.bz2
rename *.llx -> *.ll, last batch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49971 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll')
-rw-r--r--test/Transforms/LowerInvoke/2004-02-29-PHICrash.ll15
1 files changed, 15 insertions, 0 deletions
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 ] ; <i32*> [#uses=0]
+ ret void
+}
+
+declare void @_Znwj()
+