[PATCH] D108706: [AArch64][SVE] Optimize ptrue predicate pattern with known sve register width.
Paul Walker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 25 08:29:10 PDT 2021
paulwalker-arm added inline comments.
================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:3836-3839
+ const auto &Subtarget =
+ static_cast<const AArch64Subtarget &>(DAG.getSubtarget());
+ unsigned MinSVESize = Subtarget.getMinSVEVectorSizeInBits();
+ unsigned MaxSVESize = Subtarget.getMaxSVEVectorSizeInBits();
----------------
There should already be placeholder for this logic. If you look at `getPredicateForFixedLengthVector` you'll see a TODO comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108706/new/
https://reviews.llvm.org/D108706
More information about the llvm-commits
mailing list