aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
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 /llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
parent35eeea707e432c9b365ee5aef87ece522c935486 (diff)
downloadllvm-ff9eea2278f6d01260ab917e5ee8f52d29274d7d.zip
llvm-ff9eea2278f6d01260ab917e5ee8f52d29274d7d.tar.gz
llvm-ff9eea2278f6d01260ab917e5ee8f52d29274d7d.tar.bz2
[IndVars] Reflow oddly formatted condition; NFC
llvm-svn: 276319
Diffstat (limited to 'llvm/lib/Transforms/Scalar/IndVarSimplify.cpp')
-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 542cf38..f3de377 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;