[PATCH] D76620: [SYCL] Implement __builtin_unique_stable_name.
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 13 07:24:00 PDT 2020
erichkeane added a comment.
In D76620#2327617 <https://reviews.llvm.org/D76620#2327617>, @yaxunl wrote:
> CUDA/HIP are facing similar issues, i.e. consistency of name mangling of kernels between host/device compilation of the same TU. I hope this feature to be implemented in a generic way so that it may be reusable for other offloading languages.
This implementation SHOULD work for that I'd expect, but we're currently re-visiting it in order to get the names to be demanglable (at least on Linux, and will likely delay an RFC). We've used the Itanium Mangler plus some modification to the lambda mangling to make it depend on source-lines instead of arbitrary ordering.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76620/new/
https://reviews.llvm.org/D76620
More information about the cfe-commits
mailing list