1 ;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
3 ;CHECK: UINT_TO_FLT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
5 define amdgpu_kernel void @test(ptr addrspace(1) %out, ptr addrspace(1) %in) {
6 %1 = load i8, ptr addrspace(1) %in
7 %2 = uitofp i8 %1 to double
8 %3 = fptrunc double %2 to float
9 store float %3, ptr addrspace(1) %out