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

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 25 05:23:16 PDT 2021


CarolineConcatto added a comment.

@sdesmalen The cost now takes into account the index and it is different when the scalar type is i1.
For negative index there is predicate mask and a compare and select instruction to choose the correct elements. 
That is the reason it uses getCmpSelInstrCost.
For predicated there is a  table that has the cost for promoting and truncating together.


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