1; RUN: llc < %s -march=arm | grep tst 2; RUN: llc < %s -march=arm | grep teq 3 4define i32 @f(i32 %a) { 5entry: 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] 9 ret i32 %retval 10} 11 12define i32 @g(i32 %a) { 13entry: 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] 17 ret i32 %retval 18} 19