[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


================
@@ -5654,6 +5657,9 @@ extractHostEvalClauses(omp::TargetOp targetOp, Value &numThreads,
               llvm_unreachable("unsupported host_eval use");
           })
           .Case([&](omp::ParallelOp parallelOp) {
+            // num_threads dims and values are not yet supported
+            assert(!parallelOp.hasNumThreadsDimsModifier() &&
+                   "Lowering of num_threads with dims modifier is NYI.");
----------------
mjklemm wrote:

Same for 'NYI'.

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


More information about the llvm-branch-commits mailing list