[PATCH] D77050: [TTI] Remove getCallCost

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 04:17:53 PDT 2020


samparker created this revision.
samparker added reviewers: spatel, jonpa, craig.topper, delena, t.p.northover, arsenm.
Herald added subscribers: hiraditya, wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77050

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77050.253546.patch
Type: text/x-patch
Size: 8294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200330/4e308b4f/attachment-0001.bin>


More information about the llvm-commits mailing list