[all-commits] [llvm/llvm-project] fa140f: [RISCV] Simplify tablegen for XCV mac and mul inst...

Jim Lin via All-commits all-commits at lists.llvm.org
Wed Jul 26 22:05:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fa140fe211836653269ba279381a55c171b52584
      https://github.com/llvm/llvm-project/commit/fa140fe211836653269ba279381a55c171b52584
  Author: Jim Lin <jim at andestech.com>
  Date:   2023-07-27 (Thu, 27 Jul 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoXCV.td

  Log Message:
  -----------
  [RISCV] Simplify tablegen for XCV mac and mul instructions. NFC.

CVInstMac reuses RVInstR that has the same encoding fields.

Add a new class CVInst16I that has specific encoding fields, and two
new class CVInstMac16I and CVInstMul16I that inherite CVInst16I with
different outs and ins.

Reviewed By: craig.topper

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




More information about the All-commits mailing list