[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:43 PDT 2025
================
@@ -487,6 +493,13 @@ ParallelLowering::matchAndRewrite(ParallelOp parallelOp,
return failure();
}
+ auto vecAttr = LLVM::LoopVectorizeAttr::get(
+ rewriter.getContext(),
+ /* disable */ rewriter.getBoolAttr(false), {}, {}, {}, {}, {}, {});
----------------
ftynse wrote:
```suggestion
/*disable=*/ rewriter.getBoolAttr(false), {}, {}, {}, {}, {}, {});
```
please be consistent with the style. It would also help to understand what do the numerous trailing `{}` mean, even better if we can avoid them altogether.
https://github.com/llvm/llvm-project/pull/134201
More information about the Mlir-commits
mailing list