new testcase

llvm-svn: 32210
This commit is contained in:
Chris Lattner 2006-12-05 01:29:01 +00:00
parent c209b584eb
commit c92921f939
1 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,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
}