blob: 6d5a7bf77d2b3b600d182d9b7e775f5166603270 [file] [log] [blame]
Chris Lattnerc3b21112009-03-25 00:28:58 +00001; PR3874
2; RUN: llvm-as < %s | opt -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