[PATCH] D101374: [LV] Consider Loop Unroll Hints When Making Interleave Decisions

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 27 12:51:05 PDT 2021


Meinersbur added a comment.

Consider using `hasUnrollTransformation() & TM_Disable` (`LoopUtils.h`) instead. I think it is worth implementing the interpretation of when unrolling is disabled at a single place.



================
Comment at: llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h:49
     HK_WIDTH,
-    HK_UNROLL,
     HK_FORCE,
----------------
I like the rename of `HK_UNROLL` to `HK_INTERLEAVE`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101374



More information about the llvm-commits mailing list