[flang-commits] [flang] [flang][OpenMP] Implement `CheckReductionObjects` for all reduction c… (PR #118689)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Wed Dec 4 11:49:50 PST 2024


================
@@ -4267,15 +4349,6 @@ void OmpStructureChecker::CheckArraySection(
                       "DEPEND "
                       "clause"_err_en_US);
                 }
-                const auto stride{GetIntValue(strideExpr)};
----------------
kparzysz wrote:

This is checked directly via `IsContiguous`, no longer necessary here.

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


More information about the flang-commits mailing list