[PATCH] D102498: [AArch64][SVE] Improve codegen for fixed length vector concat
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 18 03:08:01 PDT 2021
paulwalker-arm added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:17694
+SDValue AArch64TargetLowering::LowerFixedLengthConcatVectorsToSVE(
+ SDValue Op, SelectionDAG &DAG) const {
----------------
junparser wrote:
> bsmith wrote:
> > junparser wrote:
> > > Can we still use ConcatVector here and then lower it performConcatVectorsCombine or td file?
> > This is consistent with how all other fixed length operations are handled. The issue with trying to do this in tablegen, is that we'd have to add patterns for every single <= 2048-bit vector type, which is just going to cause an explosion of patterns.
> Still we can keep ConcatVector here, and lowering to SPLICE in performConcatVectorsCombine at later phase.
@junparser This wouldn't follow the design we have for SVE's fixed-length code generation support. Our intent is to exit operation legalisation with all fixed-length operations replaced with scalable vector equivalents.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102498/new/
https://reviews.llvm.org/D102498
More information about the llvm-commits
mailing list