CodeGen: extend f16 conversions to permit types > float.
[oota-llvm.git] / test / CodeGen / R600 / fp_to_uint.f64.ll
1 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI %s
2
3 ; SI-LABEL: @fp_to_uint_i32_f64
4 ; SI: V_CVT_U32_F64_e32
5 define void @fp_to_uint_i32_f64(i32 addrspace(1)* %out, double %in) {
6   %cast = fptoui double %in to i32
7   store i32 %cast, i32 addrspace(1)* %out, align 4
8   ret void
9 }