new testcase
[oota-llvm.git] / test / Transforms / InstCombine / shl-trunc.ll
1 ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl
2
3 bool %test(int %X, ubyte %A) {
4         %B = lshr int %X, ubyte %A
5         %D = trunc int %B to bool
6         ret bool %D
7 }