================ @@ -1458,16 +1458,62 @@ InstructionCost ARMTTIImpl::getArithmeticInstrCost( if (LooksLikeAFreeShift()) return 0; + // When targets have both DSP and MVE we find that the ---------------- nasherm wrote: Sure. Seems to make sense https://github.com/llvm/llvm-project/pull/122713