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:
8d4221e
)
New tests
author
Chris Lattner
<sabre@nondot.org>
Wed, 23 Jul 2003 17:01:18 +0000
(17:01 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 23 Jul 2003 17:01:18 +0000
(17:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7256
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/InstCombine/set.ll
patch
|
blob
|
history
diff --git
a/test/Transforms/InstCombine/set.ll
b/test/Transforms/InstCombine/set.ll
index 37370fd3411aeb32ef4e9130d4aa3a3149e9abf2..553a6be7f19f9eb34053e72a0a12c91b924e073a 100644
(file)
--- a/
test/Transforms/InstCombine/set.ll
+++ b/
test/Transforms/InstCombine/set.ll
@@
-86,3
+86,16
@@
bool %test15(sbyte %A, short %A, int %A, long %A) {
%D = or bool %C1, %C2
ret bool %D
}
+
+bool %test16(uint %A) {
+ %B = and uint %A, 5
+ %C = seteq uint %B, 8 ; Is never true
+ ret bool %C
+}
+
+bool %test17(ubyte %A) {
+ %B = or ubyte %A, 1
+ %C = seteq ubyte %B, 2 ; Always false
+ ret bool %C
+}
+