1 ; The optimizer should be able to remove cast operation here.
2 ; RUN: llvm-upgrade %s -o - | llvm-as | opt -instcombine | llvm-dis | \
3 ; RUN: not grep sext.*i32
5 bool %eq_signed_to_small_unsigned(sbyte %SB) {
6 %Y = cast sbyte %SB to uint ; <uint> [#uses=1]
7 %C = seteq uint %Y, 17 ; <bool> [#uses=1]