[llvm] [VPlan] Account for early-exit dispatch blocks when updating LI. (PR #185618)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 10 08:25:40 PDT 2026


================
@@ -390,22 +390,40 @@ BasicBlock *VPBasicBlock::createEmptyBasicBlock(VPTransformState &State) {
   return NewBB;
 }
 
+/// Determine the parent loop for \p VPBB by checking if it is an exit block
----------------
david-arm wrote:

Is this comment correct because in the while loop below we seem to be checking if the successor is the exit block, rather than the block `VPBB` being passed in. Do you mean `exiting block`?

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


More information about the llvm-commits mailing list