blob: fae0ce3d42cab2e8909aabd4b630a0e801530af0 [file] [log] [blame]
Chris Lattnerc92921f2006-12-05 01:29:01 +00001; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep shl
2
3bool %test(int %X, ubyte %A) {
4 %B = lshr int %X, ubyte %A
5 %D = trunc int %B to bool
6 ret bool %D
7}