1 ; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
6 ; CHECK: cvt.rn.f32.u32
7 define float @foo(i1 %a) {
8 %ret = uitofp i1 %a to float
15 ; CHECK: cvt.rn.f32.s32
16 define float @foo2(i1 %a) {
17 %ret = sitofp i1 %a to float
24 ; CHECK: cvt.rn.f64.u32
25 define double @foo3(i1 %a) {
26 %ret = uitofp i1 %a to double
33 ; CHECK: cvt.rn.f64.s32
34 define double @foo4(i1 %a) {
35 %ret = sitofp i1 %a to double