[llvm] [GlobalOpt] Preserve Address Space when recreating GV (PR #171211)
Evgenii Podkorytov via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 9 09:29:54 PST 2025
e-podkorytov wrote:
> See also #162660 and related discussions. I believe our position is that the address space of the elements is required to be 0 (even though we're slightly inconsistent about this right now). I'm not sure about the address space of the magic global itself, but it should probably also be 0? @arsenm should know.
Yes, I saw that PR and studied all the details. It refers to the pointers stored in the llvm.compiler.used/llvm.used, but not to the address space of the llvm.compiler.used/llvm.used itself.
https://github.com/llvm/llvm-project/pull/171211
More information about the llvm-commits
mailing list