This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use XLenRI alias for RegInfoByHwMode instances
ClosedPublic

Authored by jrtc27 on Feb 13 2021, 8:41 AM.

Details

Summary

This avoids tedious repetition and matches what we do for the
ValueTypeByHwMode uses.

Diff Detail

Event Timeline

jrtc27 created this revision.Feb 13 2021, 8:41 AM
jrtc27 requested review of this revision.Feb 13 2021, 8:41 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 13 2021, 8:41 AM
This revision is now accepted and ready to land.Feb 13 2021, 12:03 PM
jrtc27 added inline comments.Feb 13 2021, 12:20 PM
llvm/lib/Target/RISCV/RISCVRegisterInfo.td
121–122

Oops, this is over-indented by 2 spaces (didn't de-indent after moving), will fix on commit.

This revision was automatically updated to reflect the committed changes.