[all-commits] [llvm/llvm-project] bafff3: [RISCV][MC] Implicit 0-offset aliases for JR/JALR ...

Sam Elliott via All-commits all-commits at lists.llvm.org
Sat Jun 8 09:54:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bafff3e5316a33d6f016f6e9d6eb02020ad603b6
      https://github.com/llvm/llvm-project/commit/bafff3e5316a33d6f016f6e9d6eb02020ad603b6
  Author: Sam Elliott <quic_aelliott at quicinc.com>
  Date:   2024-06-08 (Sat, 08 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/test/MC/RISCV/rvi-aliases-valid.s

  Log Message:
  -----------
  [RISCV][MC] Implicit 0-offset aliases for JR/JALR (#94688)

This broadly follows how in almost all places, we accept `(<reg>)` to
mean `0(<reg>)`, but I think these are the first like this for Jumps
rather than Loads/Stores. These are accepted by binutils but not by
LLVM: https://godbolt.org/z/GK7MGE7q7



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