[llvm] [WIP][TTI] Replace getStridedMemoryOpCost with getIntrinsicInstrCost (PR #165532)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 30 18:59:12 PDT 2025


arcbbb wrote:

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..

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


More information about the llvm-commits mailing list