This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Sink splat(s/zext(..)) to uses
ClosedPublic

Authored by dmgreen on Sep 6 2022, 7:01 AM.

Details

Summary

If the Shuffle is a splat and the operand is a zext/sext, sinking the operand and the s/zext can help create indexed s/umull. This is especially useful to prevent i64 mul being scalarized.

Diff Detail

Event Timeline

dmgreen created this revision.Sep 6 2022, 7:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2022, 7:01 AM
dmgreen requested review of this revision.Sep 6 2022, 7:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 6 2022, 7:01 AM
samtebbs accepted this revision.Sep 13 2022, 7:16 AM

Looks pretty good to me. Nice

This revision is now accepted and ready to land.Sep 13 2022, 7:16 AM
This revision was landed with ongoing or failed builds.Sep 13 2022, 7:47 AM
This revision was automatically updated to reflect the committed changes.