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