aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Tooling/Syntax/TreeTest.cpp
diff options
context:
space:
mode:
authorYevgeny Rouban <yrouban@azul.com>2020-08-05 11:06:54 +0700
committerYevgeny Rouban <yrouban@azul.com>2020-08-05 14:26:32 +0700
commitbc10888dcdda1fe80a983029bc50eec4b248cc77 (patch)
tree0cb205f4876a3933948cfee5c89a9ab8b918fc89 /clang/unittests/Tooling/Syntax/TreeTest.cpp
parent521c0b2659074c512d292dc30da78c862782d34c (diff)
downloadllvm-bc10888dcdda1fe80a983029bc50eec4b248cc77.zip
llvm-bc10888dcdda1fe80a983029bc50eec4b248cc77.tar.gz
llvm-bc10888dcdda1fe80a983029bc50eec4b248cc77.tar.bz2
DomTree: Make PostDomTree indifferent to block successors swap
Fixed the commit c35585e209efe69e2233bdc5ecd23bed7b735ba3. This is a 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 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions