[Mlir-commits] [flang] [mlir] [mlir][flang][OpenMP] Select iterators per locator and allow multi-block regions (PR #227454)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Oct 11 20:06:29 PDT 2026


================
@@ -5259,14 +5268,16 @@ void OmpStructureChecker::Enter(const parser::OmpClause::Depend &x) {
             name->ToString());
       } else if (auto *dataRef{GetDataRefFromObj(object)}) {
         CheckDependList(*dataRef);
+        CheckArraySectionStrides(*dataRef, llvm::omp::Clause::OMPC_depend);
----------------
MattPD wrote:

Could the PR description also mention that explicit DEPEND strides are now semantic errors? It currently names only AFFINITY. Please include the new not-yet-implemented diagnostic for array-valued AFFINITY parents, so both behavior changes remain visible after the squash merge.

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


More information about the Mlir-commits mailing list