[llvm] [TTI][Vectorize] Migrate masked/gather-scatter/strided/expand-compress costing (NFCI) (PR #165532)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 01:53:59 PST 2025


https://github.com/fhahn commented:

> This approach doesn’t work for getGatherScatterOpCost: ARMTTIImpl::getGatherScatterOpCost walks the use chain of a provided LoadInst/StoreInst, whereas ICA currently expects an IntrinsicInst. Consider introducing getMemIntrinsicInstrCost to cover this scenario..

Thanks for pushing to unify this. I think the description is currently out-of-date with the implementation and would need updating

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


More information about the llvm-commits mailing list