summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorSam Parker <sam.parker@arm.com>2020-04-09 07:41:18 +0100
committerSam Parker <sam.parker@arm.com>2020-04-21 09:15:34 +0100
commitee959ddc5eee180f75851649d01260a4f0ba5198 (patch)
tree3c3feaa2898a71e7ae0ec09909360091a80d28cc /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parente90fb82f0f760703c14eafbad96c08b6019a2f0f (diff)
[TTI] Remove getOperationCost
This API call has been used recently with, a very valid, expectation that it would do something useful but it doesn't actually query any backend information. So, remove this method and merge its functionality into getUserCost. As well as that, also use getCastInstrCost to get a proper cost from the backend for the concerned instructions though we only currently return the answer if it's considered free. The default implementation now also checks int/ptr conversions too, as well as truncs and bitcasts. Differential Revision: https://reviews.llvm.org/D76124
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions