This is an extension to the logic introduced with D103991. The basic idea is that any invertible function of a repeating sequence is itself a repeating sequence, and that since invertible functions are 1-to-1, we can conclude that a wrapped IV can't cycle.
Note that this only shows benefit for predicated SCEV results. The missing piece to directly influence trip counts is rebuilding the invertible chain using the newly inferred flags. That'll be a separate change. :)