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

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 01:14:18 PDT 2020


dmgreen added a comment.

I guess in my mind unroll and jam was a lot like runtime loop unrolling, which has to be enabled per target.

If there is an explicit pragma though, that does sound like it should override the targets default decision. I think the logic in tryToUnrollAndJamLoop could be updated to handle that.

A test for that would be good to see too.


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