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}rem C, x
{s,u}{add,sub}_sat
lshr
ashr
br i1 undef
samesign
instcombine-no-verify-fixpoint
cannotBeOrderedLessThanZeroImpl
computeKnownFPClass