[Openmp-commits] [PATCH] D101977: [OpenMP] Create custom state machines for generic target regions
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 2 20:18:08 PDT 2021
tianshilei1992 added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:2715
+ Function *Fn = getAnchorScope();
+ if (!OMPInfoCache.Kernels.count(Fn))
+ return;
----------------
Is it good to return ahead of time? In later patches we also create `AAKernelInfoFunction` for "regular" functions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101977/new/
https://reviews.llvm.org/D101977
More information about the Openmp-commits
mailing list