aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-05-16 16:04:10 +0200
committerNikita Popov <nikita.ppv@gmail.com>2021-05-16 16:04:10 +0200
commit7243120198914441c97de04bb6fc9afcc5b80731 (patch)
treebb56fd6231965c042247fe99d530dadf7da733ec /lldb/packages/Python/lldbsuite/test/configuration.py
parent656296b1c2eca127cb48612227fa5f381c81b53b (diff)
downloadllvm-7243120198914441c97de04bb6fc9afcc5b80731.zip
llvm-7243120198914441c97de04bb6fc9afcc5b80731.tar.gz
llvm-7243120198914441c97de04bb6fc9afcc5b80731.tar.bz2
[CaptureTracking] Simplify reachability check (NFCI)
This code was re-implementing the same-BB case of isPotentiallyReachable(). Historically, this was done because CaptureTracking used additional caching for local dominance queries. Now that it is no longer needed, the code is effectively the same as isPotentiallyReachable(). The only difference are extra checks for invoke/phis. These are misleading checks related to dominance in the value availability sense that are not relevant for control reachability. The invoke check was correct but redundant in that invokes are always terminators, so `I` could never come before the invoke. The phi check is a matter of interpretation (should an earlier phi node be considered reachable from a later phi node in the same block?) but ultimately doesn't matter because phis don't capture anyway.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions