aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/cmp2.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-08-29 23:22:12 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-08-29 23:22:12 +0000
commit456704476f953e4bee7ba4a95f9bf6dbb724e370 (patch)
tree522a441f7ad10bfb0b0fbce307cb726f87b70080 /test/CodeGen/X86/cmp2.ll
parent97af60b3ae4085d25ea4812c9e7219dba8293c9b (diff)
downloadexternal_llvm-456704476f953e4bee7ba4a95f9bf6dbb724e370.zip
external_llvm-456704476f953e4bee7ba4a95f9bf6dbb724e370.tar.gz
external_llvm-456704476f953e4bee7ba4a95f9bf6dbb724e370.tar.bz2
Swap fp comparison operands and change predicate to allow load folding (safely this time).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55553 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/cmp2.ll')
-rw-r--r--test/CodeGen/X86/cmp2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/cmp2.ll b/test/CodeGen/X86/cmp2.ll
index cc4027e..2c046ff 100644
--- a/test/CodeGen/X86/cmp2.ll
+++ b/test/CodeGen/X86/cmp2.ll
@@ -3,7 +3,7 @@
define i32 @test(double %A) nounwind {
entry:
%tmp2 = fcmp ogt double %A, 1.500000e+02; <i1> [#uses=1]
- %tmp5 = fcmp olt double %A, 7.500000e+01; <i1> [#uses=1]
+ %tmp5 = fcmp ult double %A, 7.500000e+01; <i1> [#uses=1]
%bothcond = or i1 %tmp2, %tmp5; <i1> [#uses=1]
br i1 %bothcond, label %bb8, label %bb12