[PATCH] D87786: [PPC][LoopUnrollAndJam] Allow unroll and jam loops forced by user.
Whitney Tsang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 18:36:35 PDT 2020
Whitney added a comment.
In D87786#2277611 <https://reviews.llvm.org/D87786#2277611>, @Meinersbur wrote:
> Why is this specific to the PowerPC-backend. Doesn't the LoopUnrollAndJamPass pick-up the transformation metadata already?
When `-enable-npm-unroll-and-jam` is false (default), LoopUnrollAndJamPass doesn't unroll and jam any loops, no matter `UP.UnrollAndJam` is true or not.
When `-enable-npm-unroll-and-jam` is true, LoopUnrollAndJamPass try to unroll and jam all loops with `UP.UnrollAndJam` set to true.
`UP.UnrollAndJam` is only set to true on ARM, or by option `allow-unroll-and-jam`.
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