[all-commits] [llvm/llvm-project] b3ab26: [RISCV] Fix bug where C_ADDI_HINT_IMM_ZERO was inc...

Craig Topper via All-commits all-commits at lists.llvm.org
Sun Feb 5 12:36:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3ab26b4aa2fe242218b1c0cfae9420f2c4021fa
      https://github.com/llvm/llvm-project/commit/b3ab26b4aa2fe242218b1c0cfae9420f2c4021fa
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-02-05 (Sun, 05 Feb 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
    M llvm/test/MC/RISCV/rvc-hints-valid.s

  Log Message:
  -----------
  [RISCV] Fix bug where C_ADDI_HINT_IMM_ZERO was incorrectly disassembled as C_ADDI.

And was then printed as 'mv'.




More information about the All-commits mailing list