forked from OSchip/llvm-project
parent
c209b584eb
commit
c92921f939
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue