aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Debugify.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2021-01-15 20:57:28 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2021-01-15 23:35:57 +0300
commita14c36fe27f5c36de44049237011d140a7277774 (patch)
treeaa489a3a6d878da89f62d759448eb9e2061ba3da /llvm/lib/Transforms/Utils/Debugify.cpp
parentc6654a4cdab4156bae51970fa64993e790fc4adb (diff)
downloadllvm-a14c36fe27f5c36de44049237011d140a7277774.zip
llvm-a14c36fe27f5c36de44049237011d140a7277774.tar.gz
llvm-a14c36fe27f5c36de44049237011d140a7277774.tar.bz2
[SimplifyCFG] switchToSelect(): don't forget to insert DomTree edge iff needed
DestBB might or might not already be a successor of SelectBB, and it wasn't we need to ensure that we record the fact in DomTree. The testcase used to crash in lazy domtree updater mode + non-per-function domtree validity checks disabled.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Debugify.cpp')
0 files changed, 0 insertions, 0 deletions