[PATCH] D106154: [AbstractAttributor] Fold __kmpc_parallel_level if possible

Shilei Tian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 22 11:36:06 PDT 2021


tianshilei1992 added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:3737
+    if (CallerKernelInfoAA.ParallelLevels.empty())
+      SimplifiedValue = nullptr;
+    else {
----------------
jdoerfert wrote:
> not nullptr but it shuld continue to be `none`
Aha, I recall it. Yeah, will do it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106154



More information about the llvm-commits mailing list