[llvm] [VPlan] Introduce scalar loop header in plan, remove VPLiveOut. (PR #109975)
    Florian Hahn via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Oct 31 10:09:28 PDT 2024
    
    
  
================
@@ -455,8 +455,9 @@ void VPIRBasicBlock::execute(VPTransformState *State) {
          "VPIRBasicBlock can have at most two successors at the moment!");
   State->Builder.SetInsertPoint(IRBB->getTerminator());
   executeRecipes(State, IRBB);
-  if (getSingleSuccessor()) {
-    assert(isa<UnreachableInst>(IRBB->getTerminator()));
+  // Create a branch instruction to terminate IRBB if one was not created yet
+  // and is needed.
----------------
fhahn wrote:
Added thanks
https://github.com/llvm/llvm-project/pull/109975
    
    
More information about the llvm-commits
mailing list