[all-commits] [llvm/llvm-project] 281df9: RISCVAsmBackend::relaxDwarflineAddr: Try special o...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Aug 2 12:55:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 281df9e64720c3ab1c5e03d05087d3fab752d459
      https://github.com/llvm/llvm-project/commit/281df9e64720c3ab1c5e03d05087d3fab752d459
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-08-02 (Sat, 02 Aug 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll

  Log Message:
  -----------
  RISCVAsmBackend::relaxDwarflineAddr: Try special opcode

LoongArch #77728 did better than RISCV.
If the label difference can be resolved (there is no linker-relaxable
fragment in between), we should use the default handling, which utilizes
a shorter special opcode.



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