[flang-commits] [flang] [flang][OpenMP] Update `do concurrent` mapping pass to use `fir.do_concurrent` op (PR #138489)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Wed May 7 04:55:55 PDT 2025


================
@@ -548,19 +357,16 @@ class DoConcurrentConversionPass
       return;
     }
 
-    llvm::DenseSet<fir::DoLoopOp> concurrentLoopsToSkip;
+    llvm::DenseSet<fir::DoConcurrentOp> concurrentLoopsToSkip;
----------------
skatrak wrote:

I think we should be safe to rely on that, since it's documented: https://mlir.llvm.org/docs/DialectConversion/#modes-of-conversion.

> In all cases, the framework walks the operations in preorder, examining an op before the ops in any regions it has.

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


More information about the flang-commits mailing list