[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
Thu Nov 21 03:49:07 PST 2024


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

I think that's correct.  In that case, the generated code would likely call a runtime function for intrinsic assignment.  Maybe the best way is to clearly document this assumption, so that when it turns out wrong in the future we can easily update it.

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


More information about the flang-commits mailing list