[PATCH] D152054: [OpenMP] Codegen support for thread_limit on target directive

Sandeep via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 19 11:10:45 PDT 2023


sandeepkosuri added a comment.

@kaz7, it seems that the thread_limit is being set properly, but the `omp_get_thread_limit()` is giving a wrong output when you enable anything more than `-O1`. I will fix it as soon as I can. Meanwhile, if you absolutely want the test case to work right now, remove the printf causing the issue or do not run that test case with a higher optimization level than `-O1`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152054



More information about the cfe-commits mailing list