summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-05 20:11:19 +0000
committerChris Lattner <sabre@nondot.org>2003-06-05 20:11:19 +0000
commit619c3140e3b1384f880fa7252248f786e8ca7c5d (patch)
tree3031ec53f3aba094aa5a2db7faef5efb8cce3952 /test
parent333864d81b97a7170446bf333ae70253e8455780 (diff)
downloadllvm-619c3140e3b1384f880fa7252248f786e8ca7c5d.tar.gz
llvm-619c3140e3b1384f880fa7252248f786e8ca7c5d.tar.bz2
llvm-619c3140e3b1384f880fa7252248f786e8ca7c5d.tar.xz
Test seteq AND setne
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Transforms/InstCombine/set.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/InstCombine/set.ll b/test/Transforms/InstCombine/set.ll
index b0e9fa48a4..f97a2b6198 100644
--- 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 = setne short %A, 0
+ %B2 = seteq short %A, 0
%B3 = setne int %A, 0
- %B4 = setne long %A, 0
+ %B4 = seteq long %A, 0
%C1 = or bool %B1, %B2
%C2 = or bool %B3, %B4
%D = or bool %C1, %C2