blob: 4ce04a1eb5429333aa1af48b16dec2ce7d4d2c84 [file] [log] [blame]
Chris Lattnerc3b21112009-03-25 00:28:58 +00001; PR3874
Dan Gohman18800922009-09-11 18:01:28 +00002; RUN: opt < %s -instcombine | llvm-dis
Chris Lattnerc3b21112009-03-25 00:28:58 +00003 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