1; RUN: opt < %s -instcombine -S | grep "icmp eq i32 %In, 15"
2; PR2479
3; (See also PR1800.)
4
5define i1 @test(i32 %In) {
6	%c1 = icmp ugt i32 %In, 13
7	%c2 = icmp eq i32 %In, 15
8	%V = and i1 %c1, %c2
9	ret i1 %V
10}
11
12