[PATCH] D101289: [SimplifyCFG] Use applyUpdatesPermissive in HoistThenElseCodeToIf.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 26 09:22:21 PDT 2021
fhahn marked 2 inline comments as done.
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1620-1622
if (DTU)
for (BasicBlock *Succ : successors(BI))
Updates.push_back({DominatorTree::Delete, BIParent, Succ});
----------------
lebedev.ri wrote:
>
Done! I think we also need handling for the `Insert` part, because `BB1` could also have duplicated successors.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101289/new/
https://reviews.llvm.org/D101289
More information about the llvm-commits
mailing list