We don't need to instantiate single multiclasses inside of
other multiclasses. We can use inheritance and save writing 'defm ""'.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D100074  
[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 
Diff Detail 
 Event TimelineHerald added subscribers: StephenFan, vkmr, frasercrmck and 25 others.  ·  View Herald TranscriptApr 7 2021, 4:05 PM This revision is now accepted and ready to land.Apr 7 2021, 5:26 PM Closed by commit rG5f6b3d1833fd: [RISCV] Use multiclass inheritance to simplify some of riscv_vector.td. NFCI (authored by craig.topper).  ·  Explain WhyApr 7 2021, 5:36 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
Diff 335965 clang/include/clang/Basic/riscv_vector.td
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||