aboutsummaryrefslogtreecommitdiffstats
path: root/test/LLC
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/LLC
parenta939a1e6645916622ab6f0741d6e4ed0abf55fa0 (diff)
downloadexternal_llvm-d02247126014d6bce0c5f2b7283589672530668b.zip
external_llvm-d02247126014d6bce0c5f2b7283589672530668b.tar.gz
external_llvm-d02247126014d6bce0c5f2b7283589672530668b.tar.bz2
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/LLC')
-rw-r--r--test/LLC/select.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/LLC/select.ll b/test/LLC/select.ll
index f845459..ed2e833 100644
--- a/test/LLC/select.ll
+++ b/test/LLC/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