[flang-commits] [flang] [flang] Implement !DIR$ VECTOR ALWAYS (PR #93830)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Fri May 31 04:56:17 PDT 2024
================
@@ -1926,8 +1926,22 @@ class FirConverter : public Fortran::lower::AbstractConverter {
return builder->createIntegerConstant(loc, controlType, 1); // step
}
+ void addLoopAnnotationAttr(IncrementLoopInfo &info) {
+ mlir::BoolAttr f = mlir::BoolAttr::get(builder->getContext(), false);
+ mlir::LLVM::LoopVectorizeAttr va = mlir::LLVM::LoopVectorizeAttr::get(
+ builder->getContext(), f, {}, {}, {}, {}, {}, {});
----------------
tblah wrote:
nit: Please could you label what the false bool attribute is doing? Something like `/*parameter_name=*/` will probably be enough.
https://github.com/llvm/llvm-project/pull/93830
More information about the flang-commits
mailing list