[llvm-commits] CVS: llvm/test/Regression/Transforms/SCCP/ipsccp-basic.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Dec 9 23:55:06 PST 2004
Changes in directory llvm/test/Regression/Transforms/SCCP:
ipsccp-basic.ll added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes: (+13 -0)
Index: llvm/test/Regression/Transforms/SCCP/ipsccp-basic.ll
diff -c /dev/null llvm/test/Regression/Transforms/SCCP/ipsccp-basic.ll:1.1
*** /dev/null Fri Dec 10 01:55:01 2004
--- llvm/test/Regression/Transforms/SCCP/ipsccp-basic.ll Fri Dec 10 01:54:51 2004
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: llvm-as < %s | opt -ipsccp | llvm-dis | grep -v 'ret int 17' | not grep ret
+
+ implementation
+
+ internal int %bar(int %A) {
+ %X = add int 1, 2
+ ret int %A
+ }
+
+ int %foo() {
+ %X = call int %bar(int 17)
+ ret int %X
+ }
More information about the llvm-commits
mailing list