[PATCH] D36309: [LoopUnroll] Enable option to unroll remainder loop

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 11 14:29:09 PDT 2017

efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.


Comment at: include/llvm/Transforms/Utils/UnrollLoop.h:46
+                unsigned TripMultiple, unsigned PeelCount, bool UnrollRemainder,
+                LoopInfo *LI,
                 ScalarEvolution *SE, DominatorTree *DT, AssumptionCache *AC,
Weird line wrapping.

Comment at: lib/Transforms/Scalar/LoopUnrollPass.cpp:948
                << "] Loop %" << L->getHeader()->getName() << "\n");
-  if (HasUnrollDisablePragma(L)) 
+  if (HasUnrollDisablePragma(L))
     return false;
Please commit whitespace change separately.


More information about the llvm-commits mailing list