Skip to content

Commit 3a5c127

Browse files
committed
Update aarch64 cost model
1 parent b8c097e commit 3a5c127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3743,7 +3743,7 @@ InstructionCost AArch64TTIImpl::getInterleavedMemoryOpCost(
37433743
assert(Factor >= 2 && "Invalid interleave factor");
37443744
auto *VecVTy = cast<VectorType>(VecTy);
37453745

3746-
if (VecTy->isScalableTy() && (!ST->hasSVE() || Factor != 2))
3746+
if (VecTy->isScalableTy() && !ST->hasSVE())
37473747
return InstructionCost::getInvalid();
37483748

37493749
// Vectorization for masked interleaved accesses is only enabled for scalable

0 commit comments

Comments
 (0)