[all-commits] [llvm/llvm-project] b263fe: [CostModel] Sink intrinsic costs to base TTI.

Sam Parker via All-commits all-commits at lists.llvm.org
Thu May 21 05:20:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b263fee4d2c9c79980775f6d4bfefa3bbda8241b
      https://github.com/llvm/llvm-project/commit/b263fee4d2c9c79980775f6d4bfefa3bbda8241b
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-05-21 (Thu, 21 May 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h

  Log Message:
  -----------
  [CostModel] Sink intrinsic costs to base TTI.

Recommitting part of "[CostModel] Unify Intrinsic Costs."
de71def3f59dc9f12f67141b5040d8e15c84d08a

Move the switch statement from TTImpl::getIntrinsicCost to
TTI::getIntrinsicInstrCost. This enables BasicTTI to understand
more 'free' intrinsics instead of defaulting to a cost of 1.

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




More information about the All-commits mailing list