[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/shift.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Sep 28 11:18:49 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
shift.ll updated: 1.17 -> 1.18
---
Log message:
New testcases
---
Diffs of the changes: (+13 -0)
Index: llvm/test/Regression/Transforms/InstCombine/shift.ll
diff -u llvm/test/Regression/Transforms/InstCombine/shift.ll:1.17 llvm/test/Regression/Transforms/InstCombine/shift.ll:1.18
--- llvm/test/Regression/Transforms/InstCombine/shift.ll:1.17 Mon Sep 27 11:21:26 2004
+++ llvm/test/Regression/Transforms/InstCombine/shift.ll Tue Sep 28 13:18:35 2004
@@ -145,3 +145,16 @@
%C = seteq sbyte %B, 123 ;; false
ret bool %C
}
+
+bool %test21(ubyte %A) {
+ %B = shl ubyte %A, ubyte 4
+ %C = seteq ubyte %B, 128
+ ret bool %C
+}
+
+bool %test22(ubyte %A) {
+ %B = shl ubyte %A, ubyte 4
+ %C = seteq ubyte %B, 0
+ ret bool %C
+}
+
More information about the llvm-commits
mailing list