[llvm] r274773 - [LoopStrengthReduce] Fix -Wmisleading-indentation. Reported by GCC6.
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 10:44:38 PDT 2016
Author: davide
Date: Thu Jul 7 12:44:38 2016
New Revision: 274773
URL: http://llvm.org/viewvc/llvm-project?rev=274773&view=rev
Log:
[LoopStrengthReduce] Fix -Wmisleading-indentation. Reported by GCC6.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=274773&r1=274772&r2=274773&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Thu Jul 7 12:44:38 2016
@@ -947,8 +947,8 @@ void Cost::RateRegister(const SCEV *Reg,
isa<SCEVConstant>(cast<SCEVAddRecExpr>(Reg)->getStart()))))
++SetupCost;
- NumIVMuls += isa<SCEVMulExpr>(Reg) &&
- SE.hasComputableLoopEvolution(Reg, L);
+ NumIVMuls += isa<SCEVMulExpr>(Reg) &&
+ SE.hasComputableLoopEvolution(Reg, L);
}
/// Record this register in the set. If we haven't seen it before, rate
More information about the llvm-commits
mailing list