diff options
author | Philip Reames <listmail@philipreames.com> | 2019-07-03 19:08:43 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2019-07-03 19:08:43 +0000 |
commit | 14f1543425175ccaae2cc0209b7fe8764bbd0727 (patch) | |
tree | 7a9e93b817ffeaf4fb85098317d6b3607c532f15 /llvm/lib/Transforms | |
parent | e7a258c6d913e55ef095e052613e9c9338d5a0bf (diff) | |
download | bcm5719-llvm-14f1543425175ccaae2cc0209b7fe8764bbd0727.tar.gz bcm5719-llvm-14f1543425175ccaae2cc0209b7fe8764bbd0727.zip |
[LFTR] Remove a stray variable shadow *of the same value* [NFC]
llvm-svn: 365072
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp index b9aca6754d4..84a94027b0a 100644 --- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -2359,7 +2359,6 @@ static Value *genLoopLimit(PHINode *IndVar, BasicBlock *ExitingBB, assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride"); // For unit stride, IVCount = Start + ExitCount with 2's complement // overflow. - const SCEV *IVInit = AR->getStart(); // For integer IVs, truncate the IV before computing IVInit + BECount, // unless we know apriori that the limit must be a constant when evaluated |