[llvm] [VPlan] Hook IR blocks into VPlan during skeleton creation (NFC) (PR #114292)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 15:43:57 PST 2024
================
@@ -1038,8 +1041,10 @@ void VPlan::execute(VPTransformState *State) {
State->CFG.DTU.applyUpdates(
{{DominatorTree::Delete, ScalarPh, ScalarPh->getSingleSuccessor()}});
+ ReversePostOrderTraversal<VPBlockShallowTraversalWrapper<VPBlockBase *>> RPOT(
+ Entry);
// Generate code in the loop pre-header and body.
----------------
ayalz wrote:
Comment should be updated - code for runtime guards has already been generated (is simply skipped here), but code is generated also after the body (middle, scalar pre-header).
https://github.com/llvm/llvm-project/pull/114292
More information about the llvm-commits
mailing list