1; RUN: opt < %s -instcombine -S | FileCheck %s
2; PR2389
3
4; CHECK: xor
5
6define i1 @test(i1 %a, i1 %b) {
7  %A = add i1 %a, %b
8  ret i1 %A
9}
10