[all-commits] [llvm/llvm-project] 5dc2f4: [RISCV] Mark QC Relocations as Relaxable (#142794)

Sam Elliott via All-commits all-commits at lists.llvm.org
Fri Jun 6 10:50:55 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dc2f4499b57169e57eaf86a7f18ae151d555a85
      https://github.com/llvm/llvm-project/commit/5dc2f4499b57169e57eaf86a7f18ae151d555a85
  Author: Sam Elliott <quic_aelliott at quicinc.com>
  Date:   2025-06-06 (Fri, 06 Jun 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
    M llvm/test/MC/RISCV/xqcibi-relocations.s
    M llvm/test/MC/RISCV/xqcilb-relocations.s
    M llvm/test/MC/RISCV/xqcili-relocations.s

  Log Message:
  -----------
  [RISCV] Mark QC Relocations as Relaxable (#142794)

Some of the QC relocations are relaxable, in particular there are
relaxations defined for:
- `R_RISCV_QC_E_JUMP_PLT`
- `R_RISCV_QC_E_32`
- `R_RISCV_QC_ABS20_U`

This change ensures that llvm-mc correctly emits R_RISCV_RELAX
relocations for the relevant fixups.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list