summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2021-03-22 13:46:18 -0400
committerSanjay Patel <spatel@rotateright.com>2021-03-22 15:55:34 -0400
commit664d0c052c3154c7a9d0cfbce7b23b4bd0b16841 (patch)
tree6057a40577f881d50a9e617794e5099ab0a4120d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentfe5f66d925c31dd8e4d6e6692284a5b28208bd28 (diff)
[TargetTransformInfo] move branch probability query from TargetLoweringInfo
This is no-functional-change intended (NFC), but needed to allow optimizer passes to use the API. See D98898 for a proposed usage by SimplifyCFG. I'm simplifying the code by removing the cl::opt. That was added back with the original commit in D19488, but I don't see any evidence in regression tests that it was used. Target-specific overrides can use the usual patterns to adjust as necessary. We could also restore that cl::opt, but it was not clear to me exactly how to do it in the convoluted TTI class structure.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions