Akira Hatanaka | 1d52238 | 2012-08-28 02:12:42 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=mips -mattr=+single-float < %s |
2 | |||||
3 | define void @f0() nounwind { | ||||
4 | entry: | ||||
5 | %b = alloca i32, align 4 | ||||
6 | %a = alloca float, align 4 | ||||
7 | store volatile i32 1, i32* %b, align 4 | ||||
8 | %0 = load volatile i32* %b, align 4 | ||||
9 | %conv = uitofp i32 %0 to float | ||||
10 | store float %conv, float* %a, align 4 | ||||
11 | ret void | ||||
12 | } |