[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll 2003-08-05-MishandleInvoke.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 5 11:12:01 PDT 2003
Changes in directory llvm/test/Regression/Transforms/SimplifyCFG:
2003-08-05-InvokeCrash.ll added (r1.1)
2003-08-05-MishandleInvoke.ll added (r1.1)
---
Log message:
new testcases that simplifycfg breaks
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll
diff -c /dev/null llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll:1.1
*** /dev/null Tue Aug 5 11:11:46 2003
--- llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll Tue Aug 5 11:11:36 2003
***************
*** 0 ****
--- 1,9 ----
+ ; Do not remove the invoke!
+ ;
+ ; RUN: as < %s | opt -simplifycfg -disable-output
+
+ int %test() {
+ %A = invoke int %test() to label %Ret except label %Ret
+ Ret:
+ ret int %A
+ }
Index: llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll
diff -c /dev/null llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll:1.1
*** /dev/null Tue Aug 5 11:11:46 2003
--- llvm/test/Regression/Transforms/SimplifyCFG/2003-08-05-MishandleInvoke.ll Tue Aug 5 11:11:36 2003
***************
*** 0 ****
--- 1,10 ----
+ ; Do not remove the invoke!
+ ;
+ ; RUN: as < %s | opt -simplifycfg | dis | grep invoke
+
+ int %test() {
+ invoke int %test() to label %Ret except label %Ret
+ Ret:
+ %A = add int 0, 1
+ ret int %A
+ }
More information about the llvm-commits
mailing list