diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-03-08 19:07:42 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-03-08 19:07:42 +0000 |
commit | f831fdb56aa8c9c569b738ee6e301dd55e61a5cb (patch) | |
tree | e020993d6b9568f366dc101d46ab1bfce7c2ce3e /llvm/lib/Transforms | |
parent | 5c96723622b33d46f75e2af0a90889fe7e372fd5 (diff) | |
download | bcm5719-llvm-f831fdb56aa8c9c569b738ee6e301dd55e61a5cb.tar.gz bcm5719-llvm-f831fdb56aa8c9c569b738ee6e301dd55e61a5cb.zip |
fix variable name; NFC
llvm-svn: 262953
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp index a925bfaa101..5afdaae53f6 100644 --- a/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp +++ b/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp @@ -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; |