sjoerdmeijer wrote: I wasn't aware of this TTI hook. But I agree it has a very promising name, and why wouldn't we want to set this? Did you run some perf numbers with this change? Can you share what improved? https://github.com/llvm/llvm-project/pull/166748