1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep 'add r0, r0, r1, lsl r2' &&
2 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep 'bic r0, r0, r1, asr r2'
4 int %test1(int %X, int %Y, ubyte %sh) {
5 %A = shl int %Y, ubyte %sh
10 int %test2(int %X, int %Y, ubyte %sh) {
11 %A = shr int %Y, ubyte %sh