[lld] [WIP/RFC][ELF][PowerPC] Don't assume TOC pointer is valid in IPLT entries (PR #207555)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 4 20:26:00 PDT 2026


================

----------------
jrtc27 wrote:

I'm assuming it's ok to trash r30 here, but could see there being some special carve-out for static binaries to be able to assume r30 is constant or something. Can switch this to using r12 (or, really, replace r11 with r12 and use r11 here), just then means the base register later needs to no longer be hard-coded as r30.

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


More information about the llvm-commits mailing list