[Mlir-commits] [mlir] [MLIR][SCF] Add support for vectorization hints in `scf-to-cf` lowering. (PR #134201)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Fri Apr 4 04:54:42 PDT 2025
================
@@ -984,7 +984,12 @@ def ReconcileUnrealizedCastsPass : Pass<"reconcile-unrealized-casts"> {
def SCFToControlFlowPass : Pass<"convert-scf-to-cf"> {
let summary = "Convert SCF dialect to ControlFlow dialect, replacing structured"
" control flow with a CFG";
- let dependentDialects = ["cf::ControlFlowDialect"];
+ let dependentDialects = ["cf::ControlFlowDialect", "LLVM::LLVMDialect"];
+
+ let options = [Option<"enableVectorizeHits", "enable-vectorize-hits", "bool",
----------------
ftynse wrote:
```suggestion
let options = [Option<"enableVectorizeHints", "enable-vectorize-hints", "bool",
```
https://github.com/llvm/llvm-project/pull/134201
More information about the Mlir-commits
mailing list