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:
1f7e160
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Fri, 8 Oct 2004 05:03:25 +0000
(
05:03
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 8 Oct 2004 05:03:25 +0000
(
05:03
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16835
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 1b2dafb218dfc6fc5cb8f698d80af2ef56c07eb7..e11be02997d30c937e5078b20f57fea406e27200 100644
(file)
--- a/
test/Transforms/InstCombine/and.ll
+++ b/
test/Transforms/InstCombine/and.ll
@@
-178,3
+178,10
@@
bool %test26(int %A) {
ret bool %D
}
+ubyte %test27(ubyte %A) {
+ %B = and ubyte %A, 4
+ %C = sub ubyte %B, 16
+ %D = and ubyte %C, 240 ;; 0xF0
+ %E = add ubyte %D, 16
+ ret ubyte %E
+}