aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2022-02-16 14:06:40 +0000
committerFlorian Hahn <flo@fhahn.com>2022-02-16 14:06:40 +0000
commitd03d3d7966d1efdcf0629f037ffee94317385b6b (patch)
treee9d10486b6d55e8e96163d83541cb09dd03ef725 /lldb/source/Plugins/ScriptInterpreter/Python
parent7c786240bc648eabbc44b6745f1e881a01348583 (diff)
downloadllvm-d03d3d7966d1efdcf0629f037ffee94317385b6b.zip
llvm-d03d3d7966d1efdcf0629f037ffee94317385b6b.tar.gz
llvm-d03d3d7966d1efdcf0629f037ffee94317385b6b.tar.bz2
[DSE] Fall back to CFG scan for unreachable terminators.
Blocks with UnreachableInst terminators are considered as root nodes in the PDT. This pessimize DSE, if there are no aliasing reads from the potentially dead store and the block with the unreachable terminator. If any of the root nodes of the PDF has UnreachableInst as terminator, fall back to the CFG scan, even the common dominator of all killing blocks does not post-dominate the block with potentially dead store. It looks like the compile-time impact for the extra scans is negligible. https://llvm-compile-time-tracker.com/compare.php?from=779bbbf27fe631154bdfaac7a443f198d4654688&to=ac59945f1bec1c6a7d7f5590c8c69fd9c5369c53&stat=instructions Fixes #53800. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D119760
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions