[llvm] [AArch64][LV] Cost low-VF interleaved access (PR #205844)
Jack Styles via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 30 03:09:35 PDT 2026
================
@@ -5232,18 +5232,53 @@ InstructionCost AArch64TTIImpl::getInterleavedMemoryOpCost(
return InstructionCost::getInvalid();
if (!UseMaskForGaps && Factor <= TLI->getMaxSupportedInterleaveFactor()) {
- unsigned MinElts = VecVTy->getElementCount().getKnownMinValue();
- auto *SubVecTy =
- VectorType::get(VecVTy->getElementType(),
- VecVTy->getElementCount().divideCoefficientBy(Factor));
+ ElementCount EC = VecVTy->getElementCount();
+
----------------
Stylie777 wrote:
nit: extra whitespace
https://github.com/llvm/llvm-project/pull/205844
More information about the llvm-commits
mailing list