[all-commits] [llvm/llvm-project] e0b9c5: [CostModel] Add costs for llvm.experimental.vector...

Bradley Smith via All-commits all-commits at lists.llvm.org
Wed Dec 16 05:45:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e0b9c5df260c9d778be3b6ee56e6d0ffd7af9be7
      https://github.com/llvm/llvm-project/commit/e0b9c5df260c9d778be3b6ee56e6d0ffd7af9be7
  Author: Bradley Smith <bradley.smith at arm.com>
  Date:   2020-12-16 (Wed, 16 Dec 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    A llvm/test/Analysis/CostModel/AArch64/sve-getIntrinsicInstrCost-vec-insert-extract.ll

  Log Message:
  -----------
  [CostModel] Add costs for llvm.experimental.vector.{extract,insert} intrinsics

Adds cost model support for the new llvm.experimental.vector.{extract,insert}
intrinsics, using the existing getExtractSubvectorOverhead and
getInsertSubvectorOverhead functions for shuffles.

Previously this case would throw an assertion.

Differential Revision: https://reviews.llvm.org/D93043




More information about the All-commits mailing list