diff options
| author | Erik Desjardins <erikdesjardinspublic@gmail.com> | 2021-10-07 08:14:56 -0700 |
|---|---|---|
| committer | Mircea Trofin <mtrofin@google.com> | 2021-10-07 08:33:25 -0700 |
| commit | 11c8efd4db0fe58a2858459353cc5c0c41565ee5 (patch) | |
| tree | 4e49db7776b879ecfea37b9035d5101b2da60f42 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 3a5aa57c9b1c01c990700bfcedcebc14ef9a97dc (diff) | |
[Inline] Introduce Constant::hasOneLiveUse, use it instead of hasOneUse in inline cost model (PR51667)
Otherwise, inlining costs may be pessimized by dead constants.
Fixes https://bugs.llvm.org/show_bug.cgi?id=51667.
Reviewed By: mtrofin, aeubanks
Differential Revision: https://reviews.llvm.org/D109294
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
