Home | History | Annotate | Download | only in R600
      1 ; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck --check-prefix=SI %s
      2 
      3 ; SI: @v_cnd_nan
      4 ; SI: V_CNDMASK_B32_e64 v{{[0-9]}},
      5 ; SI-DAG: v{{[0-9]}}
      6 ; All nan values are converted to 0xffffffff
      7 ; SI-DAG: -1
      8 define void @v_cnd_nan(float addrspace(1)* %out, i32 %c, float %f) {
      9 entry:
     10   %0 = icmp ne i32 %c, 0
     11   %1 = select i1 %0, float 0xFFFFFFFFE0000000, float %f
     12   store float %1, float addrspace(1)* %out
     13   ret void
     14 }
     15