[PATCH] D100329: [SimplifyCFG] Allow hoisting terminators only with HoistCommonInsts=false.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 12 10:44:05 PDT 2021
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1439
+ return false;
+ if (!I1->isTerminator())
+ return false;
----------------
This could be further restricted to unconditional branches only, to avoid cases with many new successors with PHI nodes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100329/new/
https://reviews.llvm.org/D100329
More information about the llvm-commits
mailing list