[PATCH] D132190: [AArch64][GlobalISel] Legalize G_SHUFFLE_VECTOR with different lengths

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 1 03:33:17 PDT 2022


aemerson added a comment.

In D132190#3758013 <https://reviews.llvm.org/D132190#3758013>, @foad wrote:

>> this seems to be something that needs to be done generically for all targets
>
> It seems like something that could be available in LegalizerHelper for targets that want to use it. I don't see why it is necessarily required for **all** targets.

In that case I wonder if this could be done as a `Lower` action as an intermediate step before the legalizer tries to scalarize the shuffle.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132190/new/

https://reviews.llvm.org/D132190



More information about the llvm-commits mailing list