summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2017-12-01 21:56:56 +0000
committerJessica Paquette <jpaquette@apple.com>2017-12-01 21:56:56 +0000
commit52df8015c53bc1eb06ee5e2ea23a8b4818f22f87 (patch)
tree7449ee9546181bb5adb415f6819afcecf70852ee /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parent3e76e1e89e27d8015746a155301d57b0e3047849 (diff)
downloadbcm5719-llvm-52df8015c53bc1eb06ee5e2ea23a8b4818f22f87.tar.gz
bcm5719-llvm-52df8015c53bc1eb06ee5e2ea23a8b4818f22f87.zip
[MachineOutliner] NFC: Throw out self-intersections on candidates early
Currently, the outliner considers candidates that intersect with themselves in the candidate pruning step. That is, candidates of the form "AA" in ranges like "AAAAAA". In that range, it looks like there are 5 instances of "AA" that could possibly be outlined, and that's considered in the benefit calculation. However, only at most 3 instances of "AA" could ever be outlined in "AAAAAA". Thus, it's possible to pass through "AA" to the candidate selection step even though it's *never* the case that "AA" could be outlined. This makes it so that when we find candidates, we consider only non-overlapping occurrences of that candidate. llvm-svn: 319588
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud