summaryrefslogtreecommitdiff
path: root/test/CodeGen/Generic/select.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-14 19:29:38 +0000
committerChris Lattner <sabre@nondot.org>2002-08-14 19:29:38 +0000
commitd02247126014d6bce0c5f2b7283589672530668b (patch)
tree093f7b8194098c1cc08730b327bfcb4bfd9d192e /test/CodeGen/Generic/select.ll
parenta939a1e6645916622ab6f0741d6e4ed0abf55fa0 (diff)
downloadllvm-d02247126014d6bce0c5f2b7283589672530668b.tar.gz
llvm-d02247126014d6bce0c5f2b7283589672530668b.tar.bz2
llvm-d02247126014d6bce0c5f2b7283589672530668b.tar.xz
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Generic/select.ll')
-rw-r--r--test/CodeGen/Generic/select.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/Generic/select.ll b/test/CodeGen/Generic/select.ll
index f8454598d0..ed2e833ae9 100644
--- a/test/CodeGen/Generic/select.ll
+++ b/test/CodeGen/Generic/select.ll
@@ -30,7 +30,7 @@ void "unusedBool"(int * %x, int * %y)
begin
; <label>:0 ; [#uses=0]
seteq int * %x, %y ; <bool>:0 [#uses=1]
- not bool %0 ; <bool>:1 [#uses=0]
+ xor bool %0, true ; <bool>:1 [#uses=0]
setne int * %x, %y ; <bool>:2 [#uses=0]
ret void
end
@@ -100,7 +100,7 @@ loop:
%F = add int %A, %B
%G = sub int %D, -4
%D = setle int %G, 0
- %E = not bool %D
+ %E = xor bool %D, true
br bool %E, label %loop, label %Top
retlbl:
@@ -118,7 +118,7 @@ Top:
%p = add float %x, %y ; Def 2 - float
%z = sub float %x, %y ; Def 3 - float
%b = setle float %p, %z ; Def 0 - bool
- %c = not bool %b ; Def 1 - bool
+ %c = xor bool %b, true ; Def 1 - bool
br bool %b, label %Top, label %goon
goon:
ret void