[Mlir-commits] [flang] [mlir] [flang][mlir][OpenMP] Add linear modifier (val, ref, uval) (PR #187142)

Tom Eccles llvmlistbot at llvm.org
Tue Mar 24 08:53:31 PDT 2026


================
@@ -1693,13 +1697,18 @@ genSimdImplicitLinear(lower::AbstractConverter &converter,
           Fortran::semantics::IsAllocatableOrPointer(loopVar->GetUltimate()))) {
       mlir::Type ty = converter.genType(*loopVar);
       typeAttrs.push_back(mlir::TypeAttr::get(ty));
+      linearModAttrs.push_back(
+          mlir::UnitAttr::get(&converter.getMLIRContext()));
----------------
tblah wrote:

Don't these need to be `val` for OpenMP 5.2+?

https://github.com/llvm/llvm-project/pull/187142


More information about the Mlir-commits mailing list