A signed min-max clamp is the sequence of smin and smax intrinsics, which constrain a signed value into the range: smin <= value <= smax. The patch improves the calculation of KnownBits for a value subjected to the signed clamping.
{s,u}{add,sub}_sat
br i1 undef
samesign
instcombine-no-verify-fixpoint