[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/xor.ll
Chris Lattner
lattner at cs.uiuc.edu
Sun Feb 15 19:21:01 PST 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
xor.ll updated: 1.10 -> 1.11
---
Log message:
Test for xor chains
---
Diffs of the changes: (+6 -0)
Index: llvm/test/Regression/Transforms/InstCombine/xor.ll
diff -u llvm/test/Regression/Transforms/InstCombine/xor.ll:1.10 llvm/test/Regression/Transforms/InstCombine/xor.ll:1.11
--- llvm/test/Regression/Transforms/InstCombine/xor.ll:1.10 Tue Nov 4 19:05:22 2003
+++ llvm/test/Regression/Transforms/InstCombine/xor.ll Sun Feb 15 19:19:52 2004
@@ -122,3 +122,9 @@
%C = sub uint 123, %B
ret uint %C
}
+
+uint %test19(uint %A, uint %B) {
+ %C = xor uint %A, %B
+ %D = xor uint %C, %A ; A terms cancel, D = B
+ ret uint %D
+}
More information about the llvm-commits
mailing list