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

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Nov 11 07:29:44 PST 2024


================
@@ -50,4 +50,16 @@ def FunctionFilteringPass : Pass<"omp-function-filtering"> {
   ];
 }
 
+def GenericLoopConversionPass
+    : Pass<"omp-generic-loop-conversion", "mlir::func::FuncOp"> {
----------------
tblah wrote:

Is there any chance we could have loop wrapper ops nested inside of other operations some day?

I'm not saying this is a real case - just an example: say we used a parallel do inside of an omp.private copy region to copy each element of an array in parallel.

I imagine this is a no, I just wanted to check.

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


More information about the flang-commits mailing list