[Mlir-commits] [flang] [llvm] [mlir] [openmp] [MLIR][OpenMP] Add omp.fuse operation (PR #168898)

Tom Eccles llvmlistbot at llvm.org
Thu Nov 27 04:02:18 PST 2025


================
@@ -2233,7 +2287,8 @@ static void genUnrollOp(Fortran::lower::AbstractConverter &converter,
 
   // Emit the associated loop
   llvm::SmallVector<mlir::omp::CanonicalLoopOp, 1> canonLoops;
-  genCanonicalLoopNest(converter, symTable, semaCtx, eval, loc, queue, item, 1,
+  genCanonicalLoopNest(converter, symTable, semaCtx, eval,
+                       eval.getFirstNestedEvaluation(), loc, queue, item, 1,
----------------
tblah wrote:

Why did you decide to add an extra argument for the nested evaluation instead of continuing to access it through `eval`?

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


More information about the Mlir-commits mailing list