Split off from D59749. This uses a simpler and more efficient implementation of isSignWrappedSet(), and considers full sets as non-wrapped, to be consistent with isWrappedSet(). Otherwise the behavior is unchanged.
There are currently only two users of this function and both already check for isFullSet() || isSignWrappedSet(), so this is not going to cause a change in overall behavior:
lib/IR/ConstantRange.cpp: if (isFullSet() || isSignWrappedSet()) { lib/Transforms/Scalar/Float2Int.cpp: R.isFullSet() || R.isSignWrappedSet())