[PATCH] D141540: [OpenMP][5.1] Support `thread_limit` on `omp target`

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 11 13:44:57 PST 2023


ABataev accepted this revision.
ABataev added a comment.
This revision is now accepted and ready to land.

LG with a nit



================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:6578
+    //       let's pick the teams one if it's present, otherwise the target one.
+    const OMPThreadLimitClause *ThreadLimitClause =
+        D.getSingleClause<OMPThreadLimitClause>();
----------------
const auto *


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141540/new/

https://reviews.llvm.org/D141540



More information about the llvm-commits mailing list