The boundary comparisons are of the pattern:
- Inclusive: (and (icmp uge/ugt Val, Lo), (icmp ule/ult Val, Hi))
- Exclusive: (or (icmp ule/ult Val, Lo), (icmp uge/ugt Val, Hi))
If we are able to prove Hi u> Lo (or sometimes only Hi u>= Lo), we
can often optimize these patterns to:
`(icmp ule/ult (sub Val, Lo), (sub Hi, Lo))`