[RISCV] Minor vector instruction tablegen cleanup. NFC
authorCraig Topper <craig.topper@sifive.com>
Thu, 6 May 2021 18:21:46 +0000 (11:21 -0700)
committerCraig Topper <craig.topper@sifive.com>
Thu, 6 May 2021 18:23:59 +0000 (11:23 -0700)
commita577d59db243c1be038f331e0057a37b777a4407
treefb7430e423f802e42febe013a8eddf65fc560121
parent6a1c3efa051e012aaf102b7d9e7e428a58ea8ad9
[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.
llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td