This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][NFC] Use sub operator to generate register list
ClosedPublic

Authored by pcwang-thead on Jan 6 2022, 1:42 AM.

Details

Summary

There are several duplicated lines for generating GPRXXX's
register list can be eliminated by using sub operator.

Diff Detail

Event Timeline

pcwang-thead requested review of this revision.Jan 6 2022, 1:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 6 2022, 1:42 AM
asb accepted this revision.Jan 6 2022, 2:04 AM

LGTM, thanks!

This revision is now accepted and ready to land.Jan 6 2022, 2:04 AM
This revision was landed with ongoing or failed builds.Jan 6 2022, 8:31 PM
This revision was automatically updated to reflect the committed changes.