jroelofs wrote: I don't need precision for the case I'm trying to avoid: the vectorizer thought this was way too cheap and emitted one in a runtime check. So... the `10` from `getCallInstCost` sounds good to me. https://github.com/llvm/llvm-project/pull/107306