llvm-project
b76089c7 - [VPlan] Skip uses-scalars restriction if one of ops needs broadcast. (#168246)

Commit
12 days ago
[VPlan] Skip uses-scalars restriction if one of ops needs broadcast. (#168246) Update the logic in narrowToSingleScalar to allow narrowing even if not all users use scalars, if at least one of the operands already needs broadcasting. In that case, there won't be any additional broadcasts introduced. This should allow removing the special handling for stores, which can introduce additional broadcasts currently. Fixes https://github.com/llvm/llvm-project/issues/169668. PR: https://github.com/llvm/llvm-project/pull/168246
Author
Parents
Loading