fix variable name; NFC

llvm-svn: 262953
This commit is contained in:
Sanjay Patel 2016-03-08 19:07:42 +00:00
parent 5c96723622
commit f831fdb56a
1 changed files with 3 additions and 3 deletions

View File

@ -567,16 +567,16 @@ static bool tryToUnrollLoop(Loop *L, DominatorTree &DT, LoopInfo *LI,
Count = TripCount;
unsigned NumInlineCandidates;
bool notDuplicatable;
bool NotDuplicatable;
unsigned LoopSize =
ApproximateLoopSize(L, NumInlineCandidates, notDuplicatable, TTI, &AC);
ApproximateLoopSize(L, NumInlineCandidates, NotDuplicatable, TTI, &AC);
DEBUG(dbgs() << " Loop Size = " << LoopSize << "\n");
// When computing the unrolled size, note that the conditional branch on the
// backedge and the comparison feeding it are not replicated like the rest of
// the loop body (which is why 2 is subtracted).
uint64_t UnrolledSize = (uint64_t)(LoopSize-2) * Count + 2;
if (notDuplicatable) {
if (NotDuplicatable) {
DEBUG(dbgs() << " Not unrolling loop which contains non-duplicatable"
<< " instructions.\n");
return false;