1; PR3874
2; RUN: opt < %s -instcombine | llvm-dis
3  define i1 @test(i32 %x) {
4    %A = lshr i32 3968, %x
5    %B = and i32 %A, 1
6    %C = icmp eq i32 %B, 0
7    ret i1 %C
8  }
9
10