Page MenuHomePhabricator

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

Authored by craig.topper on Wed, Apr 7, 4:05 PM.

Details

Summary

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

Diff Detail

Event Timeline

craig.topper created this revision.Wed, Apr 7, 4:05 PM
craig.topper requested review of this revision.Wed, Apr 7, 4:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptWed, Apr 7, 4:05 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
khchen accepted this revision.Wed, Apr 7, 5:26 PM

LGTM, thanks!

This revision is now accepted and ready to land.Wed, Apr 7, 5:26 PM