1 ; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck %s --check-prefix=CHECK 2 3 ; CHECK: @fptrunc 4 ; CHECK: V_CVT_F32_F64_e32 5 define void @fptrunc(float addrspace(1)* %out, double %in) { 6 %result = fptrunc double %in to float 7 store float %result, float addrspace(1)* %out 8 ret void 9 } 10