diff options
| author | Yevgeny Rouban <yrouban@azul.com> | 2020-08-05 11:06:54 +0700 |
|---|---|---|
| committer | Yevgeny Rouban <yrouban@azul.com> | 2020-08-05 11:06:54 +0700 |
| commit | c35585e209efe69e2233bdc5ecd23bed7b735ba3 (patch) | |
| tree | 2aaffb14cbe8c61da7c316bb9c3cbac0c876a3e5 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 93cebb190ad24ea367c1302ee989e7cafcf238ac (diff) | |
DomTree: Make PostDomTree immune to block successors swap
This is another fix for the bug 46098 where PostDominatorTree
is unexpectedly changed by InstCombine's branch swapping
transformation.
This patch fixes PostDomTree builder. While looking for
the furthest away node in a reverse unreachable subgraph
this patch runs DFS with successors in their function order.
This order is indifferent to the order of successors, so is
the furthest away node.
Reviewers: kuhar, nikic, lebedev.ri
Differential Revision: https://reviews.llvm.org/D84763
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
