[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add thread_limit mlir->llvm lowering (PR #179608)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 16 03:34:47 PDT 2026


================
@@ -37,6 +44,20 @@ module attributes {dlti.dl_spec = #dlti.dl_spec<#dlti.dl_entry<"dlti.alloca_memo
       }
       omp.terminator
     }
+
+    // Multi-dim thread_limit: first dim constant, second dim constant.
+    // MaxThreads uses the first dim combined value: min(20, 10) = 10.
----------------
skc7 wrote:

moved the comment to top. 

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


More information about the llvm-branch-commits mailing list