Home | History | Annotate | Download | only in Thumb
      1 ; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
      2 
      3 define i32 @f(i32 %a) {
      4 entry:
      5 	%tmp2 = and i32 %a, 255		; <i32> [#uses=1]
      6 	icmp eq i32 %tmp2, 0		; <i1>:0 [#uses=1]
      7 	%retval = select i1 %0, i32 20, i32 10		; <i32> [#uses=1]
      8 	ret i32 %retval
      9 }
     10 
     11 define i32 @g(i32 %a) {
     12 entry:
     13         %tmp2 = xor i32 %a, 255
     14 	icmp eq i32 %tmp2, 0		; <i1>:0 [#uses=1]
     15 	%retval = select i1 %0, i32 20, i32 10		; <i32> [#uses=1]
     16 	ret i32 %retval
     17 }
     18 
     19 ; CHECK: tst
     20 
     21