aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-12-17 21:30:37 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-12-18 00:37:22 +0300
commit2d07414ee5f74a09fb89723b4a9bb0818bdc2e18 (patch)
treed108b50702ff460ab4cd5a64c97b1297c6a1084d /clang/lib/CodeGen/CodeGenModule.cpp
parent2ee724863e9cfe631fd7eb7eb63f8b795d68a388 (diff)
downloadllvm-2d07414ee5f74a09fb89723b4a9bb0818bdc2e18.zip
llvm-2d07414ee5f74a09fb89723b4a9bb0818bdc2e18.tar.gz
llvm-2d07414ee5f74a09fb89723b4a9bb0818bdc2e18.tar.bz2
[SimplifyCFG] Teach simplifyUnreachable() to preserve DomTree
Pretty boring, removeUnwindEdge() already known how to update DomTree, so if we are to call it, we must first flush our own pending updates; otherwise, we just stop predecessors from branching to us, and for certain predecessors, stop their predecessors from branching to them also.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions