[Openmp-commits] [PATCH] D147511: [OpenMP] Fix nextgen plugin behavior when passing negative thread_limit clause
Johannes Doerfert via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Apr 20 14:59:18 PDT 2023
jdoerfert added a comment.
Just remove this part to make it consistent while it will still avoid the overflow:
if (static_cast<int32_t>(ThreadLimitClause[0]) <= 0)
ThreadLimitClause[0] = PreferredNumThreads;
else
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147511/new/
https://reviews.llvm.org/D147511
More information about the Openmp-commits
mailing list