[llvm] [LV][NFC] Remove unnecessary multiply in expandVPWidenIntOrFpInduction (PR #170159)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 08:20:52 PST 2025


https://github.com/lukel97 commented:

I thought we already had this simplification in VPlanTransforms::simplifyRecipes, but looking at it now I think the issue is that we have to add the explicit broadcast in between in expandVPWidenIntOrFpInduction because we're after materializeBroadcasts, and that probably breaks the pattern.

I don't suppose its possible to try move materializeBroadcasts later till after convertToConcreteRecipes + the last simplifyRecipes?

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


More information about the llvm-commits mailing list