[Openmp-commits] [PATCH] D106154: [AbstractAttributor] Fold __kmpc_parallel_level if possible

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Jul 22 11:35:04 PDT 2021


jdoerfert added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:3737
+    if (CallerKernelInfoAA.ParallelLevels.empty())
+      SimplifiedValue = nullptr;
+    else {
----------------
not nullptr but it shuld continue to be `none`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106154



More information about the Openmp-commits mailing list