[flang-commits] [flang] [Flang][OpenMP] MLIR lowering support for grainsize and num_tasks clause (PR #128490)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Thu May 8 06:20:36 PDT 2025


================
@@ -78,10 +78,14 @@ class ClauseProcessor {
       mlir::omp::HasDeviceAddrClauseOps &result,
       llvm::SmallVectorImpl<const semantics::Symbol *> &hasDeviceSyms) const;
   bool processHint(mlir::omp::HintClauseOps &result) const;
+  bool processGrainsize(lower::StatementContext &stmtCtx,
+                        mlir::omp::GrainsizeClauseOps &result) const;
----------------
skatrak wrote:

Nit: This should go before `processHasDeviceAddr`. Also in ClauseProcessor.cpp.

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


More information about the flang-commits mailing list