[llvm-branch-commits] [clang] [NFCI][clang] Allow overriding any global variable address space (PR #195612)

Pierre van Houtryve via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu May 7 02:09:12 PDT 2026


Pierre-vh wrote:

> I don't see this used in the next PR in the stack. Is the problem the language claims this is `__shared__`, but won't codegen as shared?

`adjustGlobalVarAddressSpace` is used in the next PR. The issue is that we use `__shared__` in the language, but we want to emit the GV as addrspace(15) instead.

https://github.com/llvm/llvm-project/pull/195612


More information about the llvm-branch-commits mailing list