[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/xor.ll
Chris Lattner
sabre at nondot.org
Thu Jan 4 19:04:06 PST 2007
Changes in directory llvm/test/Regression/Transforms/InstCombine:
xor.ll updated: 1.18 -> 1.19
---
Log message:
new testcase
---
Diffs of the changes: (+9 -0)
xor.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/xor.ll
diff -u llvm/test/Regression/Transforms/InstCombine/xor.ll:1.18 llvm/test/Regression/Transforms/InstCombine/xor.ll:1.19
--- llvm/test/Regression/Transforms/InstCombine/xor.ll:1.18 Fri Dec 1 22:23:09 2006
+++ llvm/test/Regression/Transforms/InstCombine/xor.ll Thu Jan 4 21:03:51 2007
@@ -181,3 +181,12 @@
ret int %tmp4
}
+
+i32 %test27(i32 %b, i32 %c, i32 %d) {
+ %tmp2 = xor i32 %d, %b
+ %tmp5 = xor i32 %d, %c
+ %tmp = icmp eq i32 %tmp2, %tmp5
+ %tmp6 = zext bool %tmp to i32
+ ret i32 %tmp6
+}
+
More information about the llvm-commits
mailing list