[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/xor.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu May 5 21:11:40 PDT 2005
Changes in directory llvm/test/Regression/Transforms/InstCombine:
xor.ll updated: 1.13 -> 1.14
---
Log message:
new testcase
---
Diffs of the changes: (+8 -0)
xor.ll | 8 ++++++++
1 files changed, 8 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/xor.ll
diff -u llvm/test/Regression/Transforms/InstCombine/xor.ll:1.13 llvm/test/Regression/Transforms/InstCombine/xor.ll:1.14
--- llvm/test/Regression/Transforms/InstCombine/xor.ll:1.13 Sun Apr 24 02:28:53 2005
+++ llvm/test/Regression/Transforms/InstCombine/xor.ll Thu May 5 23:11:26 2005
@@ -146,3 +146,11 @@
%D = select bool %C2, int %A, int %B
ret int %D
}
+
+int %test22(bool %X) {
+ %Y = xor bool %X, true
+ %Z = cast bool %Y to int
+ %Q = xor int %Z, 1
+ ret int %Q
+}
+
More information about the llvm-commits
mailing list