[PATCH] D104630: [AArch64][CostModel] Add cost model for experimental.vector.splice

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 21 03:46:45 PDT 2021


CarolineConcatto added a comment.

The cost for fixed vector with splice could be improved by changing

  InstructionCost getPermuteShuffleOverhead(FixedVectorType *VTy) 

to

  InstructionCost getPermuteShuffleOverhead(FixedVectorType *VTy, int Index) 

and the loop to be until index instead of all elements.
But depends if it is fine to create a new shuffle  SK::Splice for exeperimental.vector.splice.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104630



More information about the llvm-commits mailing list