[llvm] [LoopInterchange] Add an option to prioritize vectorization (PR #131988)
Ryotaro Kasuga via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 19 08:11:39 PDT 2025
kasuga-fj wrote:
> Not requiring for this review, but have you considered exposing the generality of the implementation to the user? Something like -loop-interchange-priorities=cache,instcost,vector (One may also intentionally remove one of them)?
I had thought of passing it as a constructor argument like LoopUnroll, but had not thought to add such an option. However, supporting it sounds good to me, especially when I want to disable some of them. Thanks for your idea, I'll add it.
https://github.com/llvm/llvm-project/pull/131988
More information about the llvm-commits
mailing list