1 ; FIXME: Merge into fp_to_sint.ll when EG/NI supports 64-bit types
2 ; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck --check-prefix=SI %s
4 ; SI-LABEL: @fp_to_sint_i64
5 ; Check that the compiler doesn't crash with a "cannot select" error
7 define void @fp_to_sint_i64 (i64 addrspace(1)* %out, float %in) {
9 %0 = fptosi float %in to i64
10 store i64 %0, i64 addrspace(1)* %out