[Mlir-commits] [flang] [mlir] [flang][OpenMP] Add basic support to lower `loop` directive to MLIR (PR #114199)

Sergio Afonso llvmlistbot at llvm.org
Tue Nov 12 05:31:40 PST 2024


================
@@ -2051,6 +2063,40 @@ static void genStandaloneDo(lower::AbstractConverter &converter,
                 llvm::omp::Directive::OMPD_do, dsp);
 }
 
+static void genLoopOp(lower::AbstractConverter &converter,
----------------
skatrak wrote:

Ultra-nit: This doesn't belong in this section of the file, since the `loop` construct never belongs to a composite construct. It should go below `genLoopNestOp`.

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


More information about the Mlir-commits mailing list