[all-commits] [llvm/llvm-project] 2641a1: [TTI] Remove getCallCost

Sam Parker via All-commits all-commits at lists.llvm.org
Wed Apr 1 01:05:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2641a19981e71c887bece92074e00d1af3e716c9
      https://github.com/llvm/llvm-project/commit/2641a19981e71c887bece92074e00d1af3e716c9
  Author: Sam Parker <sam.parker at arm.com>
  Date:   2020-04-01 (Wed, 01 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp

  Log Message:
  -----------
  [TTI] Remove getCallCost

getCallCost is only used within the different layers of TTI, with no
backend implementing it so fold the base implementation into
getUserCost. I think this is an NFC.

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




More information about the All-commits mailing list