In this patch we continue supporting BitTests of the highest bit in the ThreeWayComparison
matcher in the InstCombine (see problem's description in the message of D45854).
This patch adds support for the transform of
%c2 = icmp slt %a, 0 %select1 = select %c2, %Less, %Greater
to
(%a s>> 31) - (%Less - %Greater) | %Greater
which is an alternative to
(%a s>> 31) - (%Less - %Greater) + %Greater
which applies if (%Less - %Greater) & %Greater == 0.
This is a part of fix of the bug 37147.