[llvm-commits] CVS: llvm/test/Regression/Transforms/LowerInvoke/2004-02-29-PHICrash.llx
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 29 16:16:00 PST 2004
Changes in directory llvm/test/Regression/Transforms/LowerInvoke:
2004-02-29-PHICrash.llx added (r1.1)
---
Log message:
Testcase for a bug that caused a whole bunch of testcases to die in the nightly
tester last night.
---
Diffs of the changes: (+16 -0)
Index: llvm/test/Regression/Transforms/LowerInvoke/2004-02-29-PHICrash.llx
diff -c /dev/null llvm/test/Regression/Transforms/LowerInvoke/2004-02-29-PHICrash.llx:1.1
*** /dev/null Sun Feb 29 16:16:01 2004
--- llvm/test/Regression/Transforms/LowerInvoke/2004-02-29-PHICrash.llx Sun Feb 29 16:15:51 2004
***************
*** 0 ****
--- 1,16 ----
+ ; RUN: llvm-as < %s | opt -lowerinvoke -enable-correct-eh-support -disable-output
+
+ void %_ZNKSt11__use_cacheISt16__numpunct_cacheIcEEclERKSt6locale() {
+ entry:
+ br bool false, label %then, label %UnifiedReturnBlock
+
+ then: ; preds = %entry
+ invoke void %_Znwj( )
+ to label %UnifiedReturnBlock unwind label %UnifiedReturnBlock
+
+ UnifiedReturnBlock: ; preds = %entry, %then, %then
+ %UnifiedRetVal = phi int* [ null, %entry ], [ null, %then ], [ null, %then ]
+ ret void
+ }
+
+ declare void %_Znwj()
More information about the llvm-commits
mailing list