[lld] [llvm] [RISCV] Teach RISCVMergeBaseOffset to merge %lo into load/store folding arithmetic (PR #185353)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 09:52:19 PDT 2026


================
@@ -60,6 +60,10 @@ ELF_RELOC(R_RISCV_TLSDESC_HI20,      62)
 ELF_RELOC(R_RISCV_TLSDESC_LOAD_LO12, 63)
 ELF_RELOC(R_RISCV_TLSDESC_ADD_LO12,  64)
 ELF_RELOC(R_RISCV_TLSDESC_CALL,      65)
+ELF_RELOC(R_RISCV_GPREL_LO12_I,      66)
----------------
topperc wrote:

Is there a PR to add these numbers to the psABI?

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


More information about the llvm-commits mailing list