[llvm-commits] CVS: llvm/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 16 08:39:33 PST 2004
Changes in directory llvm/test/Regression/Transforms/SCCP:
2004-11-16-DeadInvoke.ll added (r1.1)
---
Log message:
New testcase for recent patch to SCCP, thanks to Nate Begeman for pointing
out this recent regression
---
Diffs of the changes: (+14 -0)
Index: llvm/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll
diff -c /dev/null llvm/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll:1.1
*** /dev/null Tue Nov 16 10:39:30 2004
--- llvm/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll Tue Nov 16 10:39:20 2004
***************
*** 0 ****
--- 1,14 ----
+ ; RUN: llvm-as < %s | opt -sccp -disable-output
+
+ implementation
+
+ declare int %foo()
+
+ void %caller() {
+ br bool true, label %T, label %F
+ F:
+ %X = invoke int %foo() to label %T unwind label %T
+
+ T:
+ ret void
+ }
More information about the llvm-commits
mailing list