[Openmp-commits] [PATCH] D71989: [OpenMP][IRBuilder][WIP] Prototype `omp task` support
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 14 04:00:19 PST 2020
AndreyChurbanov added a comment.
> the task create and task issue step are
> conceptually not separated anymore as it is
I don't think this can work reliably. Because not all C++ objects can be mem-copied.
E.g. an object can keep its own address or reference, and mem-copy will make it broken.
This could be fixed by generating (optional) thunk routine which would create all needed objects
in the library-allocated space, and similar routine which would destroy all the created objects.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the Openmp-commits