diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-31 10:46:03 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-03-31 10:46:03 +0000 |
commit | 00e00d693c3991d85ffebf305ddbfd5dfb99ead6 (patch) | |
tree | e2176c3d0f03bd1d85a82eb479afafecd38319ed /test/Transforms/InstCombine/fcmp.ll | |
parent | 68b4bd0a63156a9f57210243bc5a8959e93b24fa (diff) | |
download | external_llvm-00e00d693c3991d85ffebf305ddbfd5dfb99ead6.zip external_llvm-00e00d693c3991d85ffebf305ddbfd5dfb99ead6.tar.gz external_llvm-00e00d693c3991d85ffebf305ddbfd5dfb99ead6.tar.bz2 |
InstCombine: Fix transform to use the swapped predicate.
Thanks Frits!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/fcmp.ll')
-rw-r--r-- | test/Transforms/InstCombine/fcmp.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Transforms/InstCombine/fcmp.ll b/test/Transforms/InstCombine/fcmp.ll index 66607ea..b41cdfa 100644 --- a/test/Transforms/InstCombine/fcmp.ll +++ b/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 |