[llvm] [LV] Convert scatter w/uniform addr and mask being header mask to scalar store. (PR #172799)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 23:34:13 PDT 2026


https://github.com/artagnon commented:

> Create new scalar recipes (scalar-store, extract-lane, ...) and use computeCost() to calculate costs.
> Cons: The drawback is that some of the recipes will be created only for cost calculation and will be removed if not profitable.

Not sure if I understand the Cons -- can you kindly clarify what the limitation of this approach is?

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


More information about the llvm-commits mailing list