[PATCH] D133955: [AArch64][CostModel] Add costs for fixed operations when using fixed vectors over SVE

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 09:44:28 PDT 2022


peterwaller-arm added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:1951
+    auto Src = EVT::getVectorVT(I->getContext(), DstTy.getVectorElementType(),
+                                SrcTy.getVectorNumElements(), true);
+    return AdjustCost(BaseT::getCastInstrCost(
----------------
Src and Dst look to be defined identically here, is that intentional?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133955/new/

https://reviews.llvm.org/D133955



More information about the llvm-commits mailing list