summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-03-31 10:46:03 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-03-31 10:46:03 +0000
commitbe209ab8a21b70795630ff162a2daeaccca96e34 (patch)
treee0cc189d6e83ba0bf02e780732461503710d3c56 /llvm/test/Transforms/InstCombine
parentd159d946449def169bff0fc86e0f6b20d59cf475 (diff)
downloadbcm5719-llvm-be209ab8a21b70795630ff162a2daeaccca96e34.tar.gz
bcm5719-llvm-be209ab8a21b70795630ff162a2daeaccca96e34.zip
InstCombine: Fix transform to use the swapped predicate.
Thanks Frits! llvm-svn: 128628
Diffstat (limited to 'llvm/test/Transforms/InstCombine')
-rw-r--r--llvm/test/Transforms/InstCombine/fcmp.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/InstCombine/fcmp.ll b/llvm/test/Transforms/InstCombine/fcmp.ll
index 66607ea0017..b41cdfa7cf1 100644
--- a/llvm/test/Transforms/InstCombine/fcmp.ll
+++ b/llvm/test/Transforms/InstCombine/fcmp.ll
@@ -44,7 +44,7 @@ define i1 @test5(float %a) nounwind {
define i1 @test6(float %x, float %y) nounwind {
%neg1 = fsub float -0.000000e+00, %x
%neg2 = fsub float -0.000000e+00, %y
- %cmp = fcmp ogt float %neg1, %neg2
+ %cmp = fcmp olt float %neg1, %neg2
ret i1 %cmp
; CHECK: @test6
; CHECK-NEXT: fcmp ogt float %x, %y
OpenPOWER on IntegriCloud