[AArch64]Add memory op cost model for SVE
authorCaroline Concatto <caroline.concatto@arm.com>
Fri, 6 Nov 2020 15:53:59 +0000 (15:53 +0000)
committerCaroline Concatto <caroline.concatto@arm.com>
Wed, 11 Nov 2020 12:49:19 +0000 (12:49 +0000)
commit37f4ccb27545ca28a52a1a1c21cbccee03044d04
tree433a8bc834b9e5b4bafa8d5418b08b1fe353af58
parent04ce13e497be60f51d340e649c72138d49cb13e9
[AArch64]Add memory op cost model for SVE

This patch adds/fixes memory op cost model for SVE with fixed-width
vector.

Differential Revision: https://reviews.llvm.org/D90950
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64Subtarget.cpp
llvm/lib/Target/AArch64/AArch64Subtarget.h
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
llvm/test/Analysis/CostModel/AArch64/mem-op-cost-model.ll [new file with mode: 0644]
llvm/test/Analysis/CostModel/AArch64/scalable-mem-op-cost-model.ll [new file with mode: 0644]