[RISCV] refactor VPatBinary (NFC)
authorShihPo Hung <shihpo.hung@sifive.com>
Tue, 19 Jan 2021 07:58:36 +0000 (23:58 -0800)
committerShihPo Hung <shihpo.hung@sifive.com>
Wed, 20 Jan 2021 03:09:56 +0000 (19:09 -0800)
commit4dae2247fd62f1319de6297fa5088ab1b0175d88
tree5d3a48f7acef0e996ef3c604056192c3a4270aa0
parent4479c0c2c0be019b9932c6f1380a40e6cb48da25
[RISCV] refactor VPatBinary (NFC)

Make it easier to reuse for intrinsic vrgatherei16
which needs to encode both LMUL & EMUL in the instruction name,
like PseudoVRGATHEREI16_VV_M1_M1 and PseudoVRGATHEREI16_VV_M1_M2.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D94951
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td