[llvm] r276319 - [IndVars] Reflow oddly formatted condition; NFC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 21 11:58:02 PDT 2016
Author: sanjoy
Date: Thu Jul 21 13:58:01 2016
New Revision: 276319
URL: http://llvm.org/viewvc/llvm-project?rev=276319&view=rev
Log:
[IndVars] Reflow oddly formatted condition; NFC
Modified:
llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp?rev=276319&r1=276318&r2=276319&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp Thu Jul 21 13:58:01 2016
@@ -1176,8 +1176,8 @@ const SCEVAddRecExpr *WidenIV::getWideRe
return nullptr;
const SCEV *NarrowExpr = SE->getSCEV(NarrowUse);
- if (SE->getTypeSizeInBits(NarrowExpr->getType())
- >= SE->getTypeSizeInBits(WideType)) {
+ if (SE->getTypeSizeInBits(NarrowExpr->getType()) >=
+ SE->getTypeSizeInBits(WideType)) {
// NarrowUse implicitly widens its operand. e.g. a gep with a narrow
// index. So don't follow this use.
return nullptr;
More information about the llvm-commits
mailing list