[flang-commits] [flang] [Flang][OpenMP] Add semantic support for Loop Sequences and OpenMP loop fuse (PR #161213)
Ferran Toda via flang-commits
flang-commits at lists.llvm.org
Tue Oct 7 06:05:05 PDT 2025
================
@@ -418,19 +420,20 @@ void OmpStructureChecker::CheckDistLinear(
// Match the loop index variables with the collected symbols from linear
// clauses.
- auto &optLoopCons = std::get<std::optional<parser::NestedConstruct>>(x.t);
- if (optLoopCons.has_value()) {
+ auto &loopConsList = std::get<std::list<parser::NestedConstruct>>(x.t);
+ for (auto &loopCons : loopConsList) {
+ std::int64_t collapseVal_ = collapseVal;
----------------
NouTimbaler wrote:
using curCollapseVal now
https://github.com/llvm/llvm-project/pull/161213
More information about the flang-commits
mailing list