This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Refactor vfcvt_rm pseudo insertion case statements. NFC
ClosedPublic

Authored by luke on Jun 30 2023, 1:56 PM.

Diff Detail

Event Timeline

luke created this revision.Jun 30 2023, 1:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2023, 1:56 PM
luke requested review of this revision.Jun 30 2023, 1:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 30 2023, 1:56 PM
luke updated this revision to Diff 536434.Jun 30 2023, 2:35 PM

Add another macro, to prepare for a future patch that adds a non-mask
variant of PseudoVFCVT

asb added a comment.Jul 3 2023, 3:35 AM

Soft LGTM as this should get a LGTM from someone working more on the vector side. But the change seems mechanically correct, and I get the motivation. I'm not the biggest fan in general of #define to remove repetitive code but I think it pays off here.

This revision is now accepted and ready to land.Jul 3 2023, 9:55 AM
This revision was landed with ongoing or failed builds.Jul 3 2023, 3:52 PM
This revision was automatically updated to reflect the committed changes.