Rather than testing for many specific combinations of predicates and values, compute the exact icmp regions for both comparisons and check whether they union/intersect exactly. If they do, construct the equivalent icmp for the new range. Assuming that the existing code handled all possible cases, this should be NFC.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Presumably you have proved these transformations via brute-force (even though said test coverage isn't being added).