Matt Arsenault | c3a73c3 | 2014-05-22 03:20:30 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s |
2 | |||||
3 | ; SI-LABEL: @uint_to_fp_f64_i32 | ||||
4 | ; SI: V_CVT_F64_U32_e32 | ||||
5 | define void @uint_to_fp_f64_i32(double addrspace(1)* %out, i32 %in) { | ||||
6 | %cast = uitofp i32 %in to double | ||||
7 | store double %cast, double addrspace(1)* %out, align 8 | ||||
8 | ret void | ||||
9 | } |