[TTI] Remove getCallCost
authorSam Parker <sam.parker@arm.com>
Mon, 30 Mar 2020 10:44:20 +0000 (11:44 +0100)
committerSam Parker <sam.parker@arm.com>
Wed, 1 Apr 2020 08:05:25 +0000 (09:05 +0100)
commit2641a19981e71c887bece92074e00d1af3e716c9
treef83336f789d37c6c12e91967e4ba96d3eb0c3b11
parentf92563f9077d07f8cc97320e517eb1cdd6b34496
[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
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp