1 ; This test makes sure that these instructions are properly eliminated.
3 ; RUN: opt < %s -instcombine -S | not grep {xor }
6 define i1 @test0(i32 %A) {
7 %B = xor i32 %A, -2147483648
8 %C = icmp sgt i32 %B, -1
12 define i1 @test1(i32 %A) {
13 %B = xor i32 %A, 12345
14 %C = icmp slt i32 %B, 0