summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-07-24 09:31:32 +0100
committerFlorian Hahn <flo@fhahn.com>2024-07-24 09:31:32 +0100
commitba8126b6fef79bd344a247f6291aaec7b67bdff0 (patch)
tree8aeab2457864984f0f785a369d648dc27cd8d253 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface
parent9a258664024d12a06ba8eb9344e270a9bb5f5d87 (diff)
[LV] Mark dead instructions in loop as free.
Update collectValuesToIgnore to also ignore dead instructions in the loop. Such instructions will be removed by VPlan-based DCE and won't be considered by the VPlan-based cost model. This closes a gap between the legacy and VPlan-based cost model. In practice with the default pipelines, there shouldn't be any dead instructions in loops reaching LoopVectorize, but it is easy to generate such cases by hand or automatically via fuzzers. Fixes https://github.com/llvm/llvm-project/issues/99701.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions