This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Match vwmulsu_vx with scalar splat input.
ClosedPublic

Authored by craig.topper on Feb 11 2022, 11:43 PM.

Details

Summary

This is a more generic version of D119110 that uses MaskedValueIsZero
to do the matching and SimplifyDemandedBits to remove any unneeded
AND instructions.

Tests were taken from D119110.

Diff Detail

Event Timeline

craig.topper created this revision.Feb 11 2022, 11:43 PM
craig.topper requested review of this revision.Feb 11 2022, 11:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 11 2022, 11:43 PM

Complete patch

Chenbing.Zheng accepted this revision.Feb 13 2022, 5:28 PM
This revision is now accepted and ready to land.Feb 13 2022, 5:28 PM
This revision was landed with ongoing or failed builds.Feb 15 2022, 8:50 AM
This revision was automatically updated to reflect the committed changes.