[AArch64][CostModel] Add costs for fixed operations when using fixed vectors over...
authorDinar Temirbulatov <dinar.temirbulatov@arm.com>
Mon, 15 May 2023 16:18:45 +0000 (16:18 +0000)
committerDinar Temirbulatov <dinar.temirbulatov@arm.com>
Mon, 15 May 2023 16:18:45 +0000 (16:18 +0000)
commit73668cceaee51193bf954c3f36ef18e65b1cbaf9
tree051bb7c8be60304951aaf325661075d2e44c1172
parent0d1be98a67e29b70ccfab23d86a2bea13de117d7
[AArch64][CostModel] Add costs for fixed operations when using fixed vectors over SVE.

Currently any cast operation with fixed length vectors uses NEON costs,
If those operations are end up using SVE instruction then we estimate
those operations based upon SVE costs.

Differential Revision: https://reviews.llvm.org/D133955
llvm/lib/Target/AArch64/AArch64Subtarget.h
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/AArch64/cast.ll
llvm/test/Analysis/CostModel/AArch64/sve-widening-instruction.ll