1; RUN: opt < %s -instcombine -S | not grep and 2 3define 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 11