[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/and.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Jun 18 01:14:02 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
and.ll updated: 1.18 -> 1.19
---
Log message:
New test
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/Transforms/InstCombine/and.ll
diff -u llvm/test/Regression/Transforms/InstCombine/and.ll:1.18 llvm/test/Regression/Transforms/InstCombine/and.ll:1.19
--- llvm/test/Regression/Transforms/InstCombine/and.ll:1.18 Fri Sep 19 14:04:43 2003
+++ llvm/test/Regression/Transforms/InstCombine/and.ll Fri Jun 18 01:07:17 2004
@@ -105,3 +105,11 @@
%C = and ubyte %B, 3
ret ubyte %C
}
+
+sbyte %test17(sbyte %X, sbyte %Y) { ;; ~(~X & Y) --> (X | ~Y)
+ %B = xor sbyte %X, -1
+ %C = and sbyte %B, %Y
+ %D = xor sbyte %C, -1
+ ret sbyte %D
+}
+
More information about the llvm-commits
mailing list