kaz7 added a comment. In D152054#4648318 <https://reviews.llvm.org/D152054#4648318>, @sandeepkosuri wrote:
> @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`. Thank you for investigating that. I'm fine with `-O0` result. I just came across this issue and informed that. Thank you for your efforts! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D152054/new/ https://reviews.llvm.org/D152054 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits