This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Block tryCombineToBSL combines for vectors wider than NEON
ClosedPublic

Authored by joechrisellis on Apr 21 2021, 8:16 AM.

Details

Summary

There are no patterns for the AArch64ISD::BSP ISD node for anything
other than NEON vectors at the moment. As a result, if we hit these
combines for vectors wider than a NEON vector (such as what we might get
with fixed length SVE) we will fail to lower.

This patch simply prevents us from attempting the combines if the input
vector type is too wide.

Diff Detail

Event Timeline

joechrisellis created this revision.Apr 21 2021, 8:16 AM
joechrisellis requested review of this revision.Apr 21 2021, 8:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2021, 8:16 AM
peterwaller-arm accepted this revision.Apr 21 2021, 9:34 AM
This revision is now accepted and ready to land.Apr 21 2021, 9:34 AM