[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/xor.ll
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 4 19:06:01 PST 2003
Changes in directory llvm/test/Regression/Transforms/InstCombine:
xor.ll updated: 1.9 -> 1.10
---
Log message:
New testcase for the other side
---
Diffs of the changes: (+6 -0)
Index: llvm/test/Regression/Transforms/InstCombine/xor.ll
diff -u llvm/test/Regression/Transforms/InstCombine/xor.ll:1.9 llvm/test/Regression/Transforms/InstCombine/xor.ll:1.10
--- llvm/test/Regression/Transforms/InstCombine/xor.ll:1.9 Tue Nov 4 17:49:53 2003
+++ llvm/test/Regression/Transforms/InstCombine/xor.ll Tue Nov 4 19:05:22 2003
@@ -116,3 +116,9 @@
%C = xor uint %B, 4294967295
ret uint %C
}
+
+uint %test18(uint %A) { ; C - ~X == X + (1+C)
+ %B = xor uint %A, 4294967295; -~X == 0 - ~X == X+1
+ %C = sub uint 123, %B
+ ret uint %C
+}
More information about the llvm-commits
mailing list