1 ; Test conversions of unsigned i64s to floating-point values (z10 only).
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | FileCheck %s
5 ; Test i64->f32. There's no native support for unsigned i64-to-fp conversions,
6 ; but we should be able to implement them using signed i64-to-fp conversions.
7 define float @f1(i64 %i) {
12 %conv = uitofp i64 %i to float
17 define double @f2(i64 %i) {
22 %conv = uitofp i64 %i to double
27 define void @f3(i64 %i, ptr %dst) {
32 %conv = uitofp i64 %i to fp128
33 store fp128 %conv, ptr %dst