[llvm] [VPlan] Dispatch to multiple exit blocks via middle blocks. (PR #112138)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 23 08:16:42 PDT 2024
================
@@ -474,6 +474,14 @@ void VPIRBasicBlock::execute(VPTransformState *State) {
// backedges. A backward successor is set when the branch is created.
const auto &PredVPSuccessors = PredVPBB->getHierarchicalSuccessors();
unsigned idx = PredVPSuccessors.front() == this ? 0 : 1;
+ if (TermBr->getSuccessor(idx) &&
----------------
david-arm wrote:
I think this code was for a different version of the patch using BranchOnMultiCond - can be deleted I think?
https://github.com/llvm/llvm-project/pull/112138
More information about the llvm-commits
mailing list