1;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
2
3; CHECK: {{^}}main:
4; CHECK-NOT: MOV
5define amdgpu_ps void @main(<4 x float> inreg %reg0) {
6entry:
7  %0 = extractelement <4 x float> %reg0, i32 0
8  %1 = call float @fabs(float %0)
9  %2 = fptoui float %1 to i32
10  %3 = bitcast i32 %2 to float
11  %4 = insertelement <4 x float> undef, float %3, i32 0
12  call void @llvm.r600.store.swizzle(<4 x float> %4, i32 0, i32 0)
13  ret void
14}
15
16declare float @fabs(float ) readnone
17declare void @llvm.r600.store.swizzle(<4 x float>, i32, i32)
18