[RISCV][NFC] Remove classes/multiclasses for SEW-aware instructions
authorwangpc <pc.wang@linux.alibaba.com>
Fri, 9 Jun 2023 03:01:39 +0000 (11:01 +0800)
committerwangpc <pc.wang@linux.alibaba.com>
Fri, 9 Jun 2023 03:02:36 +0000 (11:02 +0800)
commit20d21017b21713e554fc7d97638449f0fc90f256
tree6328ac13f2653d5d3a8bf33b33669b1652bd2d87
parent4c5db5a529a200decf222554c83f2d785afbcdab
[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
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td