[llvm-commits] CVS: llvm/test/Regression/Transforms/LowerInvoke/2005-08-03-InvokeWithPHIUse.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Aug 3 11:51:27 PDT 2005
Changes in directory llvm/test/Regression/Transforms/LowerInvoke:
2005-08-03-InvokeWithPHIUse.ll added (r1.1)
---
Log message:
new testcase for PR612: http://llvm.cs.uiuc.edu/PR612
---
Diffs of the changes: (+16 -0)
2005-08-03-InvokeWithPHIUse.ll | 16 ++++++++++++++++
1 files changed, 16 insertions(+)
Index: llvm/test/Regression/Transforms/LowerInvoke/2005-08-03-InvokeWithPHIUse.ll
diff -c /dev/null llvm/test/Regression/Transforms/LowerInvoke/2005-08-03-InvokeWithPHIUse.ll:1.1
*** /dev/null Wed Aug 3 13:51:26 2005
--- llvm/test/Regression/Transforms/LowerInvoke/2005-08-03-InvokeWithPHIUse.ll Wed Aug 3 13:51:15 2005
***************
*** 0 ****
--- 1,16 ----
+ ; RUN: llvm-as < %s | opt -lowerinvoke -enable-correct-eh-support -disable-output
+
+ declare fastcc int %ll_listnext__listiterPtr()
+
+ fastcc int %WorkTask.fn() {
+ block0:
+ %v2679 = invoke fastcc int %ll_listnext__listiterPtr( )
+ to label %block9 unwind label %block8_exception_handling ; <int> [#uses=1]
+
+ block8_exception_handling: ; preds = %block0
+ ret int 0
+
+ block9: ; preds = %block0
+ %i_2689 = phi int [ %v2679, %block0 ] ; <int> [#uses=0]
+ ret int %i_2689
+ }
More information about the llvm-commits
mailing list