[flang-commits] [flang] [WIP][flang][OpenMP] Experimental pass to map `do concurrent` to OMP (PR #77285)

via flang-commits flang-commits at lists.llvm.org
Tue Dec 3 00:26:24 PST 2024


================
@@ -370,4 +370,24 @@ def FunctionAttr : Pass<"function-attr", "mlir::func::FuncOp"> {
   let constructor = "::fir::createFunctionAttrPass()";
 }
 
+def DoConcurrentConversionPass : Pass<"fopenmp-do-concurrent-conversion", "mlir::func::FuncOp"> {
+  let summary = "Map `DO CONCURRENT` loops to OpenMP worksharing loops.";
+
+  let description = [{ This is an experimental pass to map `DO CONCURRENR` loops
+     to their correspnding equivalent OpenMP worksharing constructs.
----------------
jeanPerier wrote:

```suggestion
     to their corresponding equivalent OpenMP worksharing constructs.
```

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


More information about the flang-commits mailing list