Address issues found by Duncan during post-commit review of r177856.
[oota-llvm.git] / test / Transforms / InstCombine / 2004-11-22-Missed-and-fold.ll
1 ; RUN: opt < %s -instcombine -S | not grep and
2
3 define i8 @test21(i8 %A) {
4         ;; sign extend
5         %C = ashr i8 %A, 7              ; <i8> [#uses=1]
6         ;; chop off sign
7         %D = and i8 %C, 1               ; <i8> [#uses=1]
8         ret i8 %D
9 }
10