[PATCH] D87786: [LoopUnrollAndJam] Allow unroll and jam loops forced by user.

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 10:17:43 PDT 2020


Meinersbur added a comment.

Thanks for the fix!



================
Comment at: llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp:303-304
   // Exit early if unrolling is disabled.
   if (!UP.UnrollAndJam || UP.UnrollAndJamInnerLoopThreshold == 0)
     return LoopUnrollResult::Unmodified;
 
----------------
Seems the culprit was probably this line, making the backend's decision to not unroll a higher priority than the user's.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87786/new/

https://reviews.llvm.org/D87786



More information about the llvm-commits mailing list