Skip to content

Commit

Permalink
[LFTR] Remove a stray variable shadow *of the same value* [NFC]
Browse files Browse the repository at this point in the history
llvm-svn: 365072
  • Loading branch information
preames committed Jul 3, 2019
1 parent e7a258c commit 14f1543
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 14f1543

Please sign in to comment.