[flang-commits] [flang] [flang][fir] Lower `do concurrent` loop nests to `fir.do_concurrent` (PR #132904)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Thu Mar 27 09:05:41 PDT 2025


================
@@ -97,7 +97,8 @@ struct IncrementLoopInfo {
                              bool isUnordered = false)
       : loopVariableSym{&sym}, lowerExpr{Fortran::semantics::GetExpr(lower)},
         upperExpr{Fortran::semantics::GetExpr(upper)},
-        stepExpr{Fortran::semantics::GetExpr(step)}, isUnordered{isUnordered} {}
+        stepExpr{Fortran::semantics::GetExpr(step)}, isConcurrent{isUnordered} {
----------------
tblah wrote:

```suggestion
        stepExpr{Fortran::semantics::GetExpr(step)}, isConcurrent{isConcurrent} {
```

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


More information about the flang-commits mailing list