[InstCombine] Add (icmp ult (X + CA), C1) | (icmp eq X, C2) -> (icmp ule (X + CA...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 20 Oct 2020 14:03:08 +0000 (15:03 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 20 Oct 2020 14:16:47 +0000 (15:16 +0100)
commitbf540a64f3fc81cf0f14b5a15765f1ba9909d93e
treecd101bf2c7bec856fee38ea5cc8c3f3929c068e2
parent1ed506deaddb41870d22f5b48d52ba710e8d6c00
[InstCombine] Add (icmp ult (X + CA), C1) | (icmp eq X, C2) -> (icmp ule (X + CA), C1) test coverage

Add both commuted variants and vector uniform/nonuniform examples
llvm/test/Transforms/InstCombine/or.ll