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:
333864d
)
Test seteq AND setne
author
Chris Lattner
<sabre@nondot.org>
Thu, 5 Jun 2003 20:11:19 +0000
(20:11 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 5 Jun 2003 20:11:19 +0000
(20:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6628
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 b0e9fa48a4874a7445e49a974b41458179c0d2cf..f97a2b6198d5e6632caf9c70712076b5625275af 100644
(file)
--- a/
test/Transforms/InstCombine/set.ll
+++ b/
test/Transforms/InstCombine/set.ll
@@
-81,9
+81,9
@@
bool %test14(bool %A, bool %B) {
; These instructions can be turned into cast-to-bool
bool %test15(sbyte %A, short %A, int %A, long %A) {
%B1 = setne sbyte %A, 0
- %B2 = set
ne
short %A, 0
+ %B2 = set
eq
short %A, 0
%B3 = setne int %A, 0
- %B4 = set
ne
long %A, 0
+ %B4 = set
eq
long %A, 0
%C1 = or bool %B1, %B2
%C2 = or bool %B3, %B4
%D = or bool %C1, %C2