[flang-commits] [flang] [flang][OpenMP] Rewrite `omp.loop` to semantically equivalent ops (PR #115443)

Michael Klemm via flang-commits flang-commits at lists.llvm.org
Tue Nov 19 02:44:18 PST 2024


================
@@ -50,9 +50,25 @@ def FunctionFilteringPass : Pass<"omp-function-filtering"> {
   ];
 }
 
+
 // Needs to be scheduled on Module as we create functions in it
 def LowerWorkshare : Pass<"lower-workshare", "::mlir::ModuleOp"> {
   let summary = "Lower workshare construct";
 }
 
+def GenericLoopConversionPass
+    : Pass<"omp-generic-loop-conversion", "mlir::func::FuncOp"> {
+  let summary = "Converts OpenMP generic `loop` direcitve to semantically "
----------------
mjklemm wrote:

```suggestion
  let summary = "Converts OpenMP generic `loop` directive to semantically "
```

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


More information about the flang-commits mailing list