[llvm-branch-commits] [flang] [mlir] [mlir][OpenMP] Move taskloop clauses to the context op (PR #188070)

Jack Styles via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Mar 24 03:19:31 PDT 2026


================
@@ -3250,7 +3250,8 @@ static mlir::omp::TaskloopContextOp genStandaloneTaskloop(
     lower::StatementContext &stmtCtx, semantics::SemanticsContext &semaCtx,
     lower::pft::Evaluation &eval, mlir::Location loc,
     const ConstructQueue &queue, ConstructQueue::const_iterator item) {
-  mlir::omp::TaskloopOperands taskloopClauseOps;
+  mlir::omp::TaskloopContextOperands taskloopClauseOps;
+  mlir::omp::TaskloopOperands wrapperClauseOps;
----------------
Stylie777 wrote:

Can we define this closer to the first use? 

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


More information about the llvm-branch-commits mailing list