[lld] [llvm] [llvm][lld] Support R_AARCH64_GOTPCREL32 (PR #72584)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat May 31 12:45:01 PDT 2025
nikic wrote:
> > @MaskRay Rust is not generating this pattern, LLVM is. Are you suggesting that the RelLookupTableConverter pass should be disabled on aarch64?
>
> Just a question: is it reasonable, like https://github.com/rust-lang/llvm-project/pull/181/files removes unnamed_addr in the RelLookupTableConverter pass? I don't see any problem with retaining unnamed_addr on IR.
It looks like removing unnamed_addr avoids the use of the GOTPCREL relocations: https://llvm.godbolt.org/z/js9vx39ar
https://github.com/llvm/llvm-project/pull/72584
More information about the llvm-commits
mailing list