[llvm] [VPlan] Hook IR blocks into VPlan during skeleton creation (NFC) (PR #114292)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 13:29:30 PST 2024


================
@@ -1010,8 +1007,9 @@ void VPlan::execute(VPTransformState *State) {
   BasicBlock *VectorPreHeader = State->CFG.PrevBB;
   State->Builder.SetInsertPoint(VectorPreHeader->getTerminator());
 
-  // Disconnect VectorPreHeader from ExitBB in both the CFG and DT.
----------------
fhahn wrote:

Retained both, as the DT update is required, (otherwise the sanity checks during DT updates will trigger)

https://github.com/llvm/llvm-project/pull/114292


More information about the llvm-commits mailing list