[llvm] [GlobalOpt] Preserve Address Space when recreating GV (PR #171211)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 12:24:05 PST 2025


arsenm wrote:

> 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.

I think there are issues when trying to link llvm.used with different address spaces in different modules too. You have to pick one in the end, I'm not sure what happens 

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


More information about the llvm-commits mailing list