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:
e5ad50b
)
New test
author
Chris Lattner
<sabre@nondot.org>
Fri, 18 Jun 2004 06:07:17 +0000
(06:07 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 18 Jun 2004 06:07:17 +0000
(06:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14220
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/and.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/and.ll
b/test/Transforms/InstCombine/and.ll
index 3d8cd70a285a7f01ed4f4a62f1273ebb6a251129..87e0a5e34d3582c429beefe0cd420c3a9b13cff0 100644
(file)
--- a/
test/Transforms/InstCombine/and.ll
+++ b/
test/Transforms/InstCombine/and.ll
@@
-105,3
+105,11
@@
ubyte %test16(ubyte %A) {
%C = and ubyte %B, 3
ret ubyte %C
}
+
+sbyte %test17(sbyte %X, sbyte %Y) { ;; ~(~X & Y) --> (X | ~Y)
+ %B = xor sbyte %X, -1
+ %C = and sbyte %B, %Y
+ %D = xor sbyte %C, -1
+ ret sbyte %D
+}
+