Remove the use of an add with constant when compared to another constant:
(A + C2) == C --> A == (C - C2)
(A + C2) != C --> A != (C - C2)
I noticed an inconsistency in the canonicalization of this pattern as part of D57516 and rL354746, so that is shown in the uaddo.ll test file.
I checked asm for some of the tests where the induction variable test is changing, and I don't see any diffs in the final results, so I'm assuming that something later (LSR?) converts that to optimized form either way?