[clang] [CUDA][HIP] Mangle language address spaces by name on the device (PR #245364)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 27 19:04:40 PST 2026
https://github.com/jhuber6 commented:
Mangling by number makes sense if you think about what it actually represents. The problem is we already have some infrastructure in place to verify host / device globals, but those originate from the host. Normally the device copies the ABI for everything on the host, we could theoretically do the reverse to get the device's address spaces, but that wouldn't be relevant on the CPU. Honestly, I'm wondering if we should just lean towards ensuring we mangle names based off of the host metadata or something.
https://github.com/llvm/llvm-project/pull/245364
More information about the cfe-commits
mailing list