[llvm] r262953 - fix variable name; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 11:07:43 PST 2016


Author: spatel
Date: Tue Mar  8 13:07:42 2016
New Revision: 262953

URL: http://llvm.org/viewvc/llvm-project?rev=262953&view=rev
Log:
fix variable name; NFC

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp?rev=262953&r1=262952&r2=262953&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopUnrollPass.cpp Tue Mar  8 13:07:42 2016
@@ -567,16 +567,16 @@ static bool tryToUnrollLoop(Loop *L, Dom
     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;




More information about the llvm-commits mailing list