This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add swapped patterns to VPatIntegerSetCCVL_VIPlus1.
ClosedPublic

Authored by craig.topper on Apr 6 2022, 11:28 AM.

Details

Summary

This matches VPatIntegerSetCCVL_VI_Swappable. But as noted in the
FIXME this may only be needed due to lack of canonicalization on
VP_SETCC.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 6 2022, 11:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2022, 11:28 AM
craig.topper requested review of this revision.Apr 6 2022, 11:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2022, 11:28 AM
rogfer01 accepted this revision.Apr 6 2022, 11:11 PM

This is a sensible low hanging fruit we want to have until VP_SETCC is taught more tricks.

LGTM.

This revision is now accepted and ready to land.Apr 6 2022, 11:11 PM