[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/or.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Mar 10 12:25:01 PST 2003
Changes in directory llvm/test/Regression/Transforms/InstCombine:
or.ll updated: 1.8 -> 1.9
---
Log message:
Add test for: (A|B)^B == A & (~B)
---
Diffs of the changes:
Index: llvm/test/Regression/Transforms/InstCombine/or.ll
diff -u llvm/test/Regression/Transforms/InstCombine/or.ll:1.8 llvm/test/Regression/Transforms/InstCombine/or.ll:1.9
--- llvm/test/Regression/Transforms/InstCombine/or.ll:1.8 Tue Feb 18 13:28:47 2003
+++ llvm/test/Regression/Transforms/InstCombine/or.ll Mon Mar 10 12:24:04 2003
@@ -69,3 +69,9 @@
%B = or int %A, %NotA
ret int %B
}
+
+uint %test13(uint %A) { ; (A|B)^B == A & (~B)
+ %t1 = or uint %A, 123
+ %r = xor uint %t1, 123
+ ret uint %r
+}
More information about the llvm-commits
mailing list