This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Match VF variants for masked VFRDIV/VFRSUB
ClosedPublic

Authored by frasercrmck on Jan 20 2022, 6:59 AM.

Details

Summary

This patch follows up on D117697 to help the simple binary operations
behave similarly in the presence of masks.

It also enables CGP sinking support for vp.fdiv and vp.fsub intrinsics,
now that VFRDIV and VFRSUB are consistently matched with a LHS splat for
masked and unmasked variants.

Diff Detail

Event Timeline

frasercrmck created this revision.Jan 20 2022, 6:59 AM
frasercrmck requested review of this revision.Jan 20 2022, 6:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 20 2022, 6:59 AM
This revision is now accepted and ready to land.Jan 20 2022, 9:49 AM

rebase and add CGP sinking for vp.fsub and vp.fdiv

frasercrmck edited the summary of this revision. (Show Details)Jan 21 2022, 3:49 AM
frasercrmck edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.