https://github.com/nikic commented: I don't think CVP should be doing this transform. This looks like the job of TruncInstCombine in AggressiveInstCombine? https://github.com/llvm/llvm-project/pull/119577