[all-commits] [llvm/llvm-project] de0c2d: [RISCV] Use tablegen size for getInstSizeInBytes.

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Jan 28 09:21:52 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de0c2d75bf06beebbd0b3084e390629dbb9df2e9
      https://github.com/llvm/llvm-project/commit/de0c2d75bf06beebbd0b3084e390629dbb9df2e9
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoA.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td

  Log Message:
  -----------
  [RISCV] Use tablegen size for getInstSizeInBytes.

Fix the pseudos to have the correct size in the MCInstrDesc description.

Inspired by D118009 and D117970.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D118175




More information about the All-commits mailing list