[PATCH] D142569: [OpenMP] Introduce kernel environment
Shilei Tian via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 17 13:19:23 PST 2023
tianshilei1992 added inline comments.
================
Comment at: llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp:3910
+ // proper method.
+ if (Kernel->hasLocalLinkage()) {
+ assert(Kernel->hasOneUse() && "Unexpected use of debug kernel wrapper.");
----------------
This doesn't work as expected. Need to figure it out.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142569/new/
https://reviews.llvm.org/D142569
More information about the cfe-commits
mailing list