[CostModel] Remove getExtCost
authorSam Parker <sam.parker@arm.com>
Tue, 12 May 2020 12:17:33 +0000 (13:17 +0100)
committerSam Parker <sam.parker@arm.com>
Thu, 21 May 2020 06:18:06 +0000 (07:18 +0100)
commitfb3ba38021882236147b5774615a22a756309228
tree168347cdade0cc2376bc5284f09d45e3ca37d700
parent0e41d647ceaeb2195d5d9ab5ff25c19292a36bf5
[CostModel] Remove getExtCost

This has not been implemented by any backends which appear to cover
the functionality through getCastInstrCost. Sink what there is in the
default implementation into BasicTTI.

Differential Revision: https://reviews.llvm.org/D78922
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
llvm/test/Analysis/CostModel/AArch64/cast.ll