This catches some cases. There are probably ways to improve this.
I tried just doing it as a combine on the setcc, but that broke
some cases.
I renamed the isX86CCUnsigned to isX86CCSigned and flipped its
polarity to make it consistent with the similar functions for
ISD::SETCC. This avoids calling EQ/NE as being signed or unsigned.
Fixes PR43823.
Do the equivalent for signed with ComputeNumSignBits?