[Openmp-commits] [PATCH] D83269: [OpenMP] Identify GPU kernels (aka. OpenMP target regions)

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 7 07:44:02 PDT 2020


tianshilei1992 added a comment.

LGTM.



================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:1139
 #define OMP_RTL(_Enum, _Name, ...)                                             \
-  if (M.getFunction(_Name))                                                    \
-    return OMPInModule = true;
+  else if (M.getFunction(_Name)) OMPInModule = true;
 #include "llvm/Frontend/OpenMP/OMPKinds.def"
----------------
This line of change looks not related to this patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83269





More information about the Openmp-commits mailing list