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:
564d20c
)
new testcase for unneeded and
author
Chris Lattner
<sabre@nondot.org>
Fri, 6 May 2005 01:52:52 +0000
(
01:52
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 6 May 2005 01:52:52 +0000
(
01:52
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21711
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 b217c7e39c1c18d542dc3917322e64d7e406ca20..e8558f7d907e777b6523be3971e5e6bc6b9ddf9b 100644
(file)
--- a/
test/Transforms/InstCombine/and.ll
+++ b/
test/Transforms/InstCombine/and.ll
@@
-192,3
+192,8
@@
int %test29(ubyte %X) {
ret int %Z
}
+int %test30(bool %X) {
+ %Y = cast bool %X to int
+ %Z = and int %Y, 1
+ ret int %Z
+}