[all-commits] [llvm/llvm-project] bb1e3d: SparcInstPrinter: Support llvm-objdump --print-imm...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat May 3 16:58:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb1e3df7009af1bf4b60e1ff4ddb5b7f94d6bff9
      https://github.com/llvm/llvm-project/commit/bb1e3df7009af1bf4b60e1ff4ddb5b7f94d6bff9
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-05-03 (Sat, 03 May 2025)

  Changed paths:
    M lld/test/ELF/sparcv9-reloc.s
    M lld/test/ELF/sparcv9-tls-le.s
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
    M llvm/test/MC/Sparc/sparc-assembly-exprs.s
    M llvm/test/MC/Sparc/sparc-fixups.s
    M llvm/test/MC/Sparc/sparc-little-endian.s
    M llvm/test/MC/Sparc/sparc-tls-relocations.s
    M llvm/test/MC/Sparc/sparc64-bpr-offset.s

  Log Message:
  -----------
  SparcInstPrinter: Support llvm-objdump --print-imm-hex

... to align with other targets, e.g., https://reviews.llvm.org/D77853
(AArch64) and https://reviews.llvm.org/D83634 (AVR).

binutils's sparc port uses %d when imm<=9, diverging from other ports.
We do not follow the binutils sparc port behavior.



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