[all-commits] [llvm/llvm-project] a577d5: [RISCV] Minor vector instruction tablegen cleanup....

Craig Topper via All-commits all-commits at lists.llvm.org
Thu May 6 11:28:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a577d59db243c1be038f331e0057a37b777a4407
      https://github.com/llvm/llvm-project/commit/a577d59db243c1be038f331e0057a37b777a4407
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-05-06 (Thu, 06 May 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td

  Log Message:
  -----------
  [RISCV] Minor vector instruction tablegen cleanup. NFC

Use result_type for the IMPLICIT_DEF in masked vector patterns.
This doesn't matter today because result_type and op_type are
always the same.

Use multiclass inheritance to reduce repeated code.




More information about the All-commits mailing list