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:
22fae29
)
xor x, ALLONES should -> not x
author
Chris Lattner
<sabre@nondot.org>
Fri, 9 Aug 2002 23:34:39 +0000
(23:34 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 9 Aug 2002 23:34:39 +0000
(23:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3285
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/or.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/or.ll
b/test/Transforms/InstCombine/or.ll
index 1f85ea2c49cd7fe8cd5bcd9d3e4a7d25c0f4ff06..18881a23175a58f0eb428b507d484e0bc70724c6 100644
(file)
--- a/
test/Transforms/InstCombine/or.ll
+++ b/
test/Transforms/InstCombine/or.ll
@@
-48,6
+48,11
@@
int "test8"(int %A) {
ret int %B
}
+int %testXOR9(int %A) {
+ %B = xor int %A, -1
+ ret int %B
+}
+
bool "test9"(bool %A) {
%B = or bool %A, %A
ret bool %B
@@
-58,5
+63,8
@@
int "test10"(int %A) {
ret int %B
}
-
+bool %test11(bool %A) {
+ %B = xor bool %A, true
+ ret bool %B
+}