[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/add.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 13 11:45:51 PST 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
add.ll updated: 1.23 -> 1.24
---
Log message:
New testcase
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/Transforms/InstCombine/add.ll
diff -u llvm/test/Regression/Transforms/InstCombine/add.ll:1.23 llvm/test/Regression/Transforms/InstCombine/add.ll:1.24
--- llvm/test/Regression/Transforms/InstCombine/add.ll:1.23 Thu Oct 7 22:41:59 2004
+++ llvm/test/Regression/Transforms/InstCombine/add.ll Sat Nov 13 13:45:37 2004
@@ -169,3 +169,11 @@
%D = sub int %C, 2
ret int %D ;; A << 1
}
+
+long %test25(long %Y) {
+ %tmp.4 = shl long %Y, ubyte 2
+ %tmp.12 = shl long %Y, ubyte 2
+ %tmp.8 = add long %tmp.4, %tmp.12 ;; Y << 3
+ ret long %tmp.8
+}
+
More information about the llvm-commits
mailing list