[PATCH] D92094: [CostModel]Replace FixedVectorType by VectorType in costgetIntrinsicInstrCost

Caroline via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 05:30:47 PST 2020


CarolineConcatto created this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
CarolineConcatto requested review of this revision.

This patch replaces FixedVectorType by VectorType in getIntrinsicInstrCost
in BasicTTIImpl.h. It re-arranges the scalable type test earlier return
and add tests for scalable types.

Depends on D91532 <https://reviews.llvm.org/D91532>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92094

Files:
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-cctz-ctlz.ll
  llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-gather.ll
  llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-scatter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92094.307592.patch
Type: text/x-patch
Size: 6888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201125/c79b013f/attachment.bin>


More information about the llvm-commits mailing list