Home | History | Annotate | Download | only in Thumb
      1 ; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s
      2 
      3 define i32 @f1(float %X, float %Y) {
      4 ; CHECK-LABEL: _f1:
      5 ; CHECK: bne
      6 ; CHECK: .data_region
      7 ; CHECK: .long   ___unordsf2
      8 	%tmp = fcmp uno float %X, %Y
      9 	%retval = select i1 %tmp, i32 1, i32 -1
     10 	ret i32 %retval
     11 }
     12 
     13 define i32 @f2(float %X, float %Y) {
     14 ; CHECK-LABEL: _f2:
     15 ; CHECK: beq
     16 ; CHECK: .data_region
     17 ; CHECK: .long   ___unordsf2
     18 	%tmp = fcmp ord float %X, %Y
     19 	%retval = select i1 %tmp, i32 1, i32 -1
     20 	ret i32 %retval
     21 }
     22