This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Allow sinking both extract and splat to smull
ClosedPublic

Authored by dmgreen on Nov 9 2022, 10:14 AM.

Details

Summary

We currently will sink either a splat or two extracts to a smull/umull. There can be cases where we have both one operand as an extract and one as a splat. This alters the areExtractShuffleVectors method to account for that case.

Diff Detail

Event Timeline

dmgreen created this revision.Nov 9 2022, 10:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2022, 10:14 AM
dmgreen requested review of this revision.Nov 9 2022, 10:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2022, 10:14 AM
This revision is now accepted and ready to land.Nov 10 2022, 7:08 AM
This revision was landed with ongoing or failed builds.Nov 12 2022, 8:41 AM
This revision was automatically updated to reflect the committed changes.