This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Don't iterate SEW set again for floating-point
ClosedPublic

Authored by pcwang-thead on Jun 9 2023, 4:54 AM.

Details

Summary

We have already iterated over FPList, so there is no need to get
and loop over SEW set again. Or we will generate some useless pseudo
instructions like PseudoXXX_VF16_M1_E64.

We add SEW to FPR_Info so that we can get it later. And we rewrite
FPR_Info to reduce arguments incidentally.

This should reduce the size of files generated by TableGen.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 4:54 AM
pcwang-thead requested review of this revision.Jun 9 2023, 4:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 4:54 AM
This revision is now accepted and ready to land.Jun 9 2023, 8:35 AM