[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add num_threads clause with dims modifier support (PR #171767)

Michael Klemm via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 18 06:46:13 PST 2025


================
@@ -2887,6 +2887,9 @@ convertOmpParallel(omp::ParallelOp opInst, llvm::IRBuilderBase &builder,
   if (auto ifVar = opInst.getIfExpr())
     ifCond = moduleTranslation.lookupValue(ifVar);
   llvm::Value *numThreads = nullptr;
+  // num_threads dims and values are not yet supported
+  assert(!opInst.hasNumThreadsDimsModifier() &&
+         "Lowering of num_threads with dims modifier is NYI.");
----------------
mjklemm wrote:

Please expand the 'NYI'.

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


More information about the llvm-branch-commits mailing list