R600: Prettier asmPrint of Alu
[oota-llvm.git] / test / CodeGen / R600 / sint_to_fp.ll
1 ; RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
2
3 ; CHECK: @sint_to_fp_v4i32
4 ; CHECK: INT_TO_FLT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
5 ; CHECK: INT_TO_FLT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
6 ; CHECK: INT_TO_FLT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
7 ; CHECK: INT_TO_FLT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
8
9 define void @sint_to_fp_v4i32(<4 x float> addrspace(1)* %out, <4 x i32> addrspace(1)* %in) {
10   %value = load <4 x i32> addrspace(1) * %in
11   %result = sitofp <4 x i32> %value to <4 x float>
12   store <4 x float> %result, <4 x float> addrspace(1)* %out
13   ret void
14 }