diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-01-15 20:57:28 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-01-15 23:35:57 +0300 |
commit | a14c36fe27f5c36de44049237011d140a7277774 (patch) | |
tree | aa489a3a6d878da89f62d759448eb9e2061ba3da /llvm/lib/Transforms/Utils/Debugify.cpp | |
parent | c6654a4cdab4156bae51970fa64993e790fc4adb (diff) | |
download | llvm-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