[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add thread_limit mlir->llvm lowering (PR #179608)
Sergio Afonso via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 14 06:08:45 PDT 2026
================
@@ -6058,10 +6060,18 @@ static void extractHostEvalClauses(
else if (llvm::is_contained(teamsOp.getNumTeamsUpperVars(),
blockArg))
numTeamsUpper = hostEvalVar;
- else if (!teamsOp.getThreadLimitVars().empty() &&
- teamsOp.getThreadLimit(0) == blockArg)
- threadLimit = hostEvalVar;
- else
+ else if (llvm::is_contained(teamsOp.getThreadLimitVars(),
----------------
skatrak wrote:
Nit: Braces for other `if` / `else` branches.
https://github.com/llvm/llvm-project/pull/179608
More information about the llvm-branch-commits
mailing list