mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-22 11:42:42 +00:00
[LoopStrengthReduce] Fix -Wmisleading-indentation. Reported by GCC6.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274773 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bbbc2c2e2e
commit
f3b3b0c8bb
@ -947,8 +947,8 @@ void Cost::RateRegister(const SCEV *Reg,
|
|||||||
isa<SCEVConstant>(cast<SCEVAddRecExpr>(Reg)->getStart()))))
|
isa<SCEVConstant>(cast<SCEVAddRecExpr>(Reg)->getStart()))))
|
||||||
++SetupCost;
|
++SetupCost;
|
||||||
|
|
||||||
NumIVMuls += isa<SCEVMulExpr>(Reg) &&
|
NumIVMuls += isa<SCEVMulExpr>(Reg) &&
|
||||||
SE.hasComputableLoopEvolution(Reg, L);
|
SE.hasComputableLoopEvolution(Reg, L);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Record this register in the set. If we haven't seen it before, rate
|
/// Record this register in the set. If we haven't seen it before, rate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user