HomePhabricator

[RISCV] Use multiclass inheritance to simplify some of riscv_vector.td. NFCI

Authored by craig.topper on Wed, Apr 7, 5:33 PM.

Description

[RISCV] Use multiclass inheritance to simplify some of riscv_vector.td. NFCI

We don't need to instantiate single multiclasses inside of
other multiclasses. We can use inheritance and save writing 'defm ""'.

Reviewed By: khchen

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