[llvm] [AArch64] Account for fixed-SVE high-lane insertelement/extractelement costs (PR #219244)

Utpal Bora via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 08:50:59 PDT 2026


================
@@ -5744,12 +5759,16 @@ InstructionCost AArch64TTIImpl::getInterleavedMemoryOpCost(
   if (VecTy->isScalableTy() && !isPowerOf2_32(Factor))
     return InstructionCost::getInvalid();
 
+  auto MaxNativeInterleaveFactor = TLI->getMaxSupportedInterleaveFactor();
----------------
utpalbora wrote:

Good point, updated.

https://github.com/llvm/llvm-project/pull/219244


More information about the llvm-commits mailing list