summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorAndrew Litteken <andrew.litteken@gmail.com>2020-08-27 15:16:37 -0500
committerAndrew Litteken <andrew.litteken@gmail.com>2020-12-19 17:26:29 -0600
commit5cdc4f57e50bbe0d211c109517c17defe78e0b73 (patch)
treee2509a8ea5ab6ac093537be92c544ea6ef584259 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent0cbceed27c491ebd185e1f53bd0f43ce655efceb (diff)
[IROutliner] Deduplicating functions that only require inputs.
Extracted regions can have both inputs and outputs. In addition, the CodeExtractor removes inputs that are only used in llvm.assumes, and sunken allocas (values are used entirely in the extracted region as denoted by lifetime intrinsics). We also cannot combine sections that have different constants in the same structural location, and these constants will have to elevated to argument. This patch deduplicates extracted functions that only have inputs and non of the special cases. We test that correctly deduplicate in: test/Transforms/IROutliner/outlining-same-globals.ll test/Transforms/IROutliner/outlining-same-constants.ll test/Transforms/IROutliner/outlining-different-structure.ll
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions