llvm-project
773a8f3d - [VPlan] Re-run makeScalarizationDecisions after call widening. (#229925)

Commit
6 days ago
[VPlan] Re-run makeScalarizationDecisions after call widening. (#229925) Widened calls may only use the first lane of some operands, e.g. uniform and linear parameters of vector variants. Those operands are only known to be single-scalar once the calls have been widened, so run makeScalarizationDecisions again after makeCallWideningDecisions. Re-run scalarization if any calls were widened, so catch additional opportunities. On its own it is not super useful currently, but enables a few follow ups (https://github.com/llvm/llvm-project/pull/229099, BuildStructVector removal)
Author
Parents
Loading