[InstCombine] Switch an or of icmps fold to use constant ranges
We can express this fold more naturally when working on the constant range implementation. This change is not entirely NFC, because the code now also handles cases that don't match the precise pattern this previously looked for, e.g. we can omit an add on one of the ranges.
Loading
Please sign in to comment