[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 3 16:43:06 PDT 2005



Changes in directory llvm/test/Regression/Transforms/SimplifyCFG:

2005-10-02-InvokeSimplify.ll added (r1.1)
---
Log message:

new testcase for PR635: http://llvm.cs.uiuc.edu/PR635 


---
Diffs of the changes:  (+13 -0)

 2005-10-02-InvokeSimplify.ll |   13 +++++++++++++
 1 files changed, 13 insertions(+)


Index: llvm/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll
diff -c /dev/null llvm/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll:1.1
*** /dev/null	Mon Oct  3 18:43:04 2005
--- llvm/test/Regression/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll	Mon Oct  3 18:42:54 2005
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+ 
+ bool %foo() {
+ 	%X = invoke bool %foo() to label %N unwind label %F
+ F:
+ 	ret bool false
+ N:
+ 	br bool %X, label %A, label %B
+ A:
+ 	ret bool true
+ B:
+ 	ret bool true
+ }






More information about the llvm-commits mailing list