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:
f90a656
)
New testcase
author
Chris Lattner
<sabre@nondot.org>
Mon, 27 Sep 2004 19:25:20 +0000
(19:25 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 27 Sep 2004 19:25:20 +0000
(19:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16527
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 ba30d816df1976d2c9025484dd5fc2be43bf4a35..3743cbc8ffb2e213fc080c5a7858d36d9e60b1c7 100644
(file)
--- a/
test/Transforms/InstCombine/and.ll
+++ b/
test/Transforms/InstCombine/and.ll
@@
-119,6
+119,12
@@
bool %test18(int %A) {
ret bool %C
}
+bool %test18a(ubyte %A) {
+ %B = and ubyte %A, 254
+ %C = seteq ubyte %B, 0
+ ret bool %C
+}
+
int %test19(int %A) {
%B = shl int %A, ubyte 3
%C = and int %B, -2 ;; Clearing a zero bit