1 ; RUN: llvm-as < %s | llc -march=arm &&
2 ; RUN: llvm-as < %s | llc -march=arm | grep and | wc -l | grep 1 &&
3 ; RUN: llvm-as < %s | llc -march=arm | grep orr | wc -l | grep 1 &&
4 ; RUN: llvm-as < %s | llc -march=arm | grep eor | wc -l | grep 1 &&
5 ; RUN: llvm-as < %s | llc -march=arm | grep mov.*lsl | wc -l | grep 1 &&
6 ; RUN: llvm-as < %s | llc -march=arm | grep mov.*asr | wc -l | grep 1
8 int %f1(int %a, int %b) {
10 %tmp2 = and int %b, %a ; <int> [#uses=1]
14 int %f2(int %a, int %b) {
16 %tmp2 = or int %b, %a ; <int> [#uses=1]
20 int %f3(int %a, int %b) {
22 %tmp2 = xor int %b, %a ; <int> [#uses=1]
26 int %f4(int %a, ubyte %b) {
28 %tmp3 = shl int %a, ubyte %b ; <int> [#uses=1]
32 int %f5(int %a, ubyte %b) {
34 %tmp3 = shr int %a, ubyte %b ; <int> [#uses=1]