[Openmp-commits] [PATCH] D105697: [libomptarget][nfc] Drop dead code in parallel_51
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 9 09:16:33 PDT 2021
JonChesterfield added inline comments.
================
Comment at: openmp/libomptarget/deviceRTLs/common/src/parallel.cu:297
(__kmpc_parallel_level(ident, global_tid) > __kmpc_is_spmd_exec_mode());
if (!if_expr || InParallelRegion) {
__kmpc_serialized_parallel(ident, global_tid);
----------------
jdoerfert wrote:
> ^^^
This is the branch that can be folded after D105699, letting this whole function call turn into a tail call to invoke_microtask. It is unaffected by the code deleted in this patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105697/new/
https://reviews.llvm.org/D105697
More information about the Openmp-commits
mailing list