[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/sub.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 13 11:49:51 PST 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
sub.ll updated: 1.19 -> 1.20
---
Log message:
New testcase
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/Transforms/InstCombine/sub.ll
diff -u llvm/test/Regression/Transforms/InstCombine/sub.ll:1.19 llvm/test/Regression/Transforms/InstCombine/sub.ll:1.20
--- llvm/test/Regression/Transforms/InstCombine/sub.ll:1.19 Fri Oct 8 21:50:01 2004
+++ llvm/test/Regression/Transforms/InstCombine/sub.ll Sat Nov 13 13:49:39 2004
@@ -111,3 +111,11 @@
%C = div int %B, 1234
ret int %C
}
+
+long %test18(long %Y) {
+ %tmp.4 = shl long %Y, ubyte 2
+ %tmp.12 = shl long %Y, ubyte 2
+ %tmp.8 = sub long %tmp.4, %tmp.12 ;; 0
+ ret long %tmp.8
+}
+
More information about the llvm-commits
mailing list