[llvm] [VPlan] Handle WidenGEP in narrowToSingleScalars (PR #166740)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 10 10:13:54 PST 2025


artagnon wrote:

> > > > if all operands are single scalar, we should be able to handle this in narrowToSingleScalar, and remove the special handling in the recipe altogether?
> > > 
> > > 
> > > This is currently not possible, as narrowToSingleScalars' users check is too weak.
> > 
> > 
> > To prove this, I've rebased onto #166559.
> 
> Thanks, basing this on narrowToSingleScalar seems like a promising way forward, nicely simplifying ::execute

Thanks for the guidance; the dependent patch has now landed.

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


More information about the llvm-commits mailing list