[llvm] [RISCV] Mark More Relocs as Relaxable (PR #151422)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 21:05:10 PDT 2025


MaskRay wrote:

I would prevent JAL from being assembler-relaxed to QC_E_JAL, resolving the issue. There is no interference for users who don't use the extension.

Instead, the compiler should emit qc.e.jal when the displacement might exceed JAL's range, and the linker should handles QC_E_JAL->JAL accordingly.

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


More information about the llvm-commits mailing list