[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/set.ll
Chris Lattner
lattner at cs.uiuc.edu
Wed Jul 23 12:02:02 PDT 2003
Changes in directory llvm/test/Regression/Transforms/InstCombine:
set.ll updated: 1.10 -> 1.11
---
Log message:
New tests
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/InstCombine/set.ll
diff -u llvm/test/Regression/Transforms/InstCombine/set.ll:1.10 llvm/test/Regression/Transforms/InstCombine/set.ll:1.11
--- llvm/test/Regression/Transforms/InstCombine/set.ll:1.10 Sat Jun 28 18:31:56 2003
+++ llvm/test/Regression/Transforms/InstCombine/set.ll Wed Jul 23 12:01:18 2003
@@ -86,3 +86,16 @@
%D = or bool %C1, %C2
ret bool %D
}
+
+bool %test16(uint %A) {
+ %B = and uint %A, 5
+ %C = seteq uint %B, 8 ; Is never true
+ ret bool %C
+}
+
+bool %test17(ubyte %A) {
+ %B = or ubyte %A, 1
+ %C = seteq ubyte %B, 2 ; Always false
+ ret bool %C
+}
+
More information about the llvm-commits
mailing list