aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2025-05-02 16:19:58 +0200
committerGitHub <noreply@github.com>2025-05-02 16:19:58 +0200
commite3a81df38cb67d472d66db3e918a46bd534ea11c (patch)
tree2308d6d1295d9a9ed33e98da6949523352e12813 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parent26bc8b0ffa4335fa18359de7c224f1460a8c102c (diff)
downloadllvm-e3a81df38cb67d472d66db3e918a46bd534ea11c.zip
llvm-e3a81df38cb67d472d66db3e918a46bd534ea11c.tar.gz
llvm-e3a81df38cb67d472d66db3e918a46bd534ea11c.tar.bz2
llvm-reduce: Change function return types if function is not called (#134035)
Extend the early return on value reduction to mutate the function return type if the function has no call uses. This could be generalized to rewrite cases where all callsites are used, but it turns out that complicates the visitation order given we try to compute all opportunities up front. This is enough to cleanup the common case where we end up with one function with a return of an uninteresting constant.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions