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