AZero13 wrote: My plan to address it is to just fold that in DAGcombine to min/max so it can be processed right. Worst case scenario, I may try to make this variant of usat/ssat an intrinsic https://github.com/llvm/llvm-project/pull/145441