This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by craig.topper on Apr 7 2021, 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.Apr 7 2021, 4:05 PM
craig.topper requested review of this revision.Apr 7 2021, 4:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2021, 4:05 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
khchen accepted this revision.Apr 7 2021, 5:26 PM

LGTM, thanks!

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