summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-07-21 18:58:01 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-07-21 18:58:01 +0000
commitff9eea2278f6d01260ab917e5ee8f52d29274d7d (patch)
treea7e1be0c9cccd74ffe75aafdee7c6f68759b5ac7
parent35eeea707e432c9b365ee5aef87ece522c935486 (diff)
downloadbcm5719-llvm-ff9eea2278f6d01260ab917e5ee8f52d29274d7d.tar.gz
bcm5719-llvm-ff9eea2278f6d01260ab917e5ee8f52d29274d7d.zip
[IndVars] Reflow oddly formatted condition; NFC
llvm-svn: 276319
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index 542cf38e43b..f3de377cf69 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -1176,8 +1176,8 @@ const SCEVAddRecExpr *WidenIV::getWideRecurrence(Instruction *NarrowUse) {
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;
OpenPOWER on IntegriCloud