[all-commits] [llvm/llvm-project] 20d210: [RISCV][NFC] Remove classes/multiclasses for SEW-a...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Thu Jun 8 20:03:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20d21017b21713e554fc7d97638449f0fc90f256
      https://github.com/llvm/llvm-project/commit/20d21017b21713e554fc7d97638449f0fc90f256
  Author: wangpc <pc.wang at linux.alibaba.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

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

  Log Message:
  -----------
  [RISCV][NFC] Remove classes/multiclasses for SEW-aware instructions

Instead, we add an argument `isSEWAware` to indicate that the
instruction is SEW-aware. Actually, the only difference is the
name of pseudo instructions.

And we remove postfix `_E` for all classes/multiclasses and remove
argument `sew` since it can be calculated from `log2sew`.

Reviewed By: craig.topper

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




More information about the All-commits mailing list