[all-commits] [llvm/llvm-project] 6829f3: [RISCV] Add a default common assignment of Inst{6-...

Craig Topper via All-commits all-commits at lists.llvm.org
Thu Jan 9 22:11:26 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6829f30883fa7e71e3b7af022916003a82f0216d
      https://github.com/llvm/llvm-project/commit/6829f30883fa7e71e3b7af022916003a82f0216d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrFormatsC.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoC.td

  Log Message:
  -----------
  [RISCV] Add a default common assignment of Inst{6-2} to the RVInst16CI base class. NFC (#122377)

Many instructions assign all or a subset of Inst{6-2} to Imm{4-0}. Make
this the default. Subsets of Inst{6-2} can be overridden as needed by
derived classes/records which we already do with Inst{12} in a few
places.



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