[all-commits] [llvm/llvm-project] 5db19c: [RISCV] simm12_plus1 should not inherit from Opera...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Mar 30 19:10:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5db19cc01017ed67ec443dd7b0e7b54d991a67da
      https://github.com/llvm/llvm-project/commit/5db19cc01017ed67ec443dd7b0e7b54d991a67da
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

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

  Log Message:
  -----------
  [RISCV] simm12_plus1 should not inherit from Operand. NFC

We only use this in Pat patterns, so it just needs to be an
ImmLeaf. If we did need it as an instruction operand, the
ParserMatchClass, EncoderMethod, and DecoderMethod were probably wrong.




More information about the All-commits mailing list