[llvm] [IR] llvm.reloc.none intrinsic for no-op symbol references (PR #147427)

Daniel Thornburgh via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 16 11:16:33 PDT 2025


https://github.com/mysterymath commented:

Finally got back around to this one. I've modified the backend pseudo to use an `ExternalSymbol` instead; that's much cleaner. I had originally intended to do so, but I had thought from the interface that it could only take a constant string or something interned and zero terminated. Thankfully, metadata strings are interned and zero terminated, although it was surprisingly difficult to figure that out.

That should address the outstanding comments; PTAL and let me know if there's anything  else.

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


More information about the llvm-commits mailing list