mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user