This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][NFC] Use foreach to refactor vector load/store whole register instructions' definition.
AbandonedPublic

Authored by jacquesguan on Dec 20 2021, 12:12 AM.

Details

Summary

Refactor vector load/store whole register instructions' definition with foreach format.

Diff Detail

Unit TestsFailed

Event Timeline

jacquesguan created this revision.Dec 20 2021, 12:12 AM
jacquesguan requested review of this revision.Dec 20 2021, 12:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 20 2021, 12:12 AM
asb added a comment.Jan 6 2022, 2:42 AM

Thanks for the patch Jianjian. This is a matter of personal taste, so I'll happily defer to those who are more actively contributing to the RVV tablegen files, but IMHO the reduced readability due to the casts and string concatenation in the new version mean it's not clear this is an improvement over the current code.

Thanks for the patch Jianjian. This is a matter of personal taste, so I'll happily defer to those who are more actively contributing to the RVV tablegen files, but IMHO the reduced readability due to the casts and string concatenation in the new version mean it's not clear this is an improvement over the current code.

Thanks for your advice, I will close this one.

jacquesguan abandoned this revision.Jan 6 2022, 5:53 PM