1 2 3 4 5 6 7
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl bool %test(int %X, ubyte %A) { %B = lshr int %X, ubyte %A %D = trunc int %B to bool ret bool %D }