[InstCombine] Add test coverage for (icmp slt/sge (1 << Y), 0). NFC
We already optimize the slt case to (icmp eq Y, BitWidth-1), but we miss optimizing sge because it canonicalizes to (icmp sgt (1 << X), 1) first.
parent
79858d19
Please register or sign in to comment