[PATCH] D137966: [AArch64] Lower fixed-length vector_shuffle to SVE splat if possible
Cullen Rhodes via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 07:19:40 PST 2022
c-rhodes accepted this revision.
c-rhodes added a comment.
This revision is now accepted and ready to land.
I've just left one suggestion but otherwise LGTM
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:23040
+ if (SVN->isSplat()) {
+ int Lane = std::max(0, SVN->getSplatIndex());
+ EVT ScalarTy = MinLegalExtractEltScalarTy(VT.getVectorElementType());
----------------
unsigned?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137966/new/
https://reviews.llvm.org/D137966
More information about the llvm-commits
mailing list