[Mlir-commits] [mlir] [MLIR][SCF] Add support for vectorization hints in `scf-to-cf` lowering. (PR #134201)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Apr 4 10:18:23 PDT 2025
NexMing wrote:
> I share the concern from @mgehre-amd. We have scf-to-cf lowering precisely because we don't want scf to lower directly to LLVM. There are other targets than LLVM IR.
>
> Furthermore, this indiscriminately adds a hint to _disable_ the vectorizer. I'm not sure this is always desirable. This rather sounds like an optimization decision that should be taken and implemented by a separate pass, independent of lowering.
Here I'm providing a hint to the vectorizer to enable vectorization.
https://github.com/llvm/llvm-project/pull/134201
More information about the Mlir-commits
mailing list