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:
92bdfe6
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Wed, 23 Jul 2003 19:05:29 +0000
(19:05 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 23 Jul 2003 19:05:29 +0000
(19:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7266
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 529e43ced98fe94f08ae978d2c7da471ad5423f4..3cf8fc1f0230b8cb915f0dfe9cd9a935d3d81fc2 100644
(file)
--- a/
test/Transforms/InstCombine/or.ll
+++ b/
test/Transforms/InstCombine/or.ll
@@
-143,3
+143,10
@@
ubyte %test22(ubyte %A) {
%E = xor ubyte %D, 12
ret ubyte %E
}
+
+uint %test23(uint %A) {
+ %B = or uint %A, 4 ; Should be eliminated
+ %C = and uint %B, 8
+ ret uint %C
+}
+