[PATCH] D30243: [LoopUnrolling] Re-prioritize Peeling and Partial unrolling

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 1 04:07:09 PST 2017


mkazantsev marked an inline comment as done.
mkazantsev added inline comments.


================
Comment at: lib/Transforms/Utils/LoopUnrollPeel.cpp:75
   // If the user provided a peel count, use that.
   bool UserPeelCount = UnrollForcePeelCount.getNumOccurrences() > 0;
   if (UserPeelCount) {
----------------
mkuper wrote:
> If you do decide to call this twice - I'd expect this to also get hit only the second time around.
No longer calling twice.


https://reviews.llvm.org/D30243





More information about the llvm-commits mailing list