[llvm] [LV] Simplify the chain traversal in `getScaledReductions()` (NFCI) (PR #184830)

Gaƫtan Bossu via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 6 01:02:10 PST 2026


================
@@ -6082,36 +6074,16 @@ getScaledReductions(VPReductionPHIRecipe *RedPhiR, VPValue *PrevValue,
       match(Op, m_FPExt(m_FMul(m_VPValue(), m_VPValue())))) {
     auto *CastRecipe = dyn_cast<VPWidenCastRecipe>(Op);
     if (!CastRecipe)
----------------
gbossu wrote:

Curious: When does that happen? Is it for `UF=1` but `UC>1`?

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


More information about the llvm-commits mailing list