1 ; RUN: llvm-as < %s | llc -march=arm | grep tst
2 ; RUN: llvm-as < %s | llc -march=arm | grep teq
3 ; RUN: llvm-as < %s | llc -march=thumb | grep tst
5 define i32 @f(i32 %a) {
7 %tmp2 = and i32 %a, 255 ; <i32> [#uses=1]
8 icmp eq i32 %tmp2, 0 ; <i1>:0 [#uses=1]
9 %retval = select i1 %0, i32 20, i32 10 ; <i32> [#uses=1]
13 define i32 @g(i32 %a) {
15 %tmp2 = xor i32 %a, 255
16 icmp eq i32 %tmp2, 0 ; <i1>:0 [#uses=1]
17 %retval = select i1 %0, i32 20, i32 10 ; <i32> [#uses=1]