projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e76b77c
)
new testcase
author
Chris Lattner
<sabre@nondot.org>
Fri, 5 Jan 2007 03:03:51 +0000
(
03:03
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 5 Jan 2007 03:03:51 +0000
(
03:03
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32892
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/xor.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/xor.ll
b/test/Transforms/InstCombine/xor.ll
index ad28660756a0f64e3df4601be7f1e10b70d5f3df..f87e53a92271ed7d96d0ad5c829f1bbeff877647 100644
(file)
--- a/
test/Transforms/InstCombine/xor.ll
+++ b/
test/Transforms/InstCombine/xor.ll
@@
-181,3
+181,12
@@
int %test26(int %a, int %b) {
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
+}
+