[llvm] [VPlan] Handle regions with live-outs and scalar VF when replicating. (PR #186252)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 29 05:15:31 PDT 2026
================
@@ -815,12 +826,14 @@ static void replicateReplicateRegionsByVF(VPlan &Plan, ElementCount VF,
}
void VPlanTransforms::replicateByVF(VPlan &Plan, ElementCount VF) {
- if (Plan.hasScalarVFOnly())
- return;
-
Type *IdxTy = IntegerType::get(
Plan.getScalarHeader()->getIRBasicBlock()->getContext(), 32);
+ if (Plan.hasScalarVFOnly()) {
----------------
fhahn wrote:
added thanks
https://github.com/llvm/llvm-project/pull/186252
More information about the llvm-commits
mailing list