[llvm] [VPlan] Dissolve replicate regions with vector live-outs. (PR #189022)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 26 15:20:09 PDT 2026
================
@@ -755,8 +761,22 @@ static void processLaneForReplicateRegion(VPlan &Plan, Type *IdxTy,
if (auto *Steps = dyn_cast<VPScalarIVStepsRecipe>(&NewR))
addLaneToStartIndex(Steps, Lane, Plan, Steps);
- else if (match(&NewR, m_ExtractElement(m_VPValue(), m_ZeroInt())))
+ else if (match(&NewR, m_ExtractElement(m_VPValue(), m_VPValue()))) {
----------------
ayalz wrote:
```suggestion
} else if (match(&NewR, m_ExtractElement(m_VPValue(), m_VPValue()))) {
```
https://github.com/llvm/llvm-project/pull/189022
More information about the llvm-commits
mailing list