Address issues found by Duncan during post-commit review of r177856.
[oota-llvm.git] / test / Transforms / InstCombine / 2007-03-25-DoubleShift.ll
1 ; PR1271
2 ; RUN: opt < %s -instcombine -S | grep and
3 define i1 @test(i32 %tmp13) {
4 entry:
5         %tmp14 = shl i32 %tmp13, 12             ; <i32> [#uses=1]
6         %tmp15 = lshr i32 %tmp14, 12            ; <i32> [#uses=1]
7         %res = icmp ne i32 %tmp15, 0            ; <i1>:3 [#uses=1]
8         ret i1 %res
9 }