summaryrefslogtreecommitdiff
path: root/test/CodeGen/AMDGPU/complex-folding.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AMDGPU/complex-folding.ll')
-rw-r--r--test/CodeGen/AMDGPU/complex-folding.ll8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/CodeGen/AMDGPU/complex-folding.ll b/test/CodeGen/AMDGPU/complex-folding.ll
index a5399a71324c..acf81ba7b5dd 100644
--- a/test/CodeGen/AMDGPU/complex-folding.ll
+++ b/test/CodeGen/AMDGPU/complex-folding.ll
@@ -2,18 +2,16 @@
; CHECK: {{^}}main:
; CHECK-NOT: MOV
-define void @main(<4 x float> inreg %reg0) #0 {
+define amdgpu_ps void @main(<4 x float> inreg %reg0) {
entry:
%0 = extractelement <4 x float> %reg0, i32 0
%1 = call float @fabs(float %0)
%2 = fptoui float %1 to i32
%3 = bitcast i32 %2 to float
%4 = insertelement <4 x float> undef, float %3, i32 0
- call void @llvm.R600.store.swizzle(<4 x float> %4, i32 0, i32 0)
+ call void @llvm.r600.store.swizzle(<4 x float> %4, i32 0, i32 0)
ret void
}
declare float @fabs(float ) readnone
-declare void @llvm.R600.store.swizzle(<4 x float>, i32, i32)
-
-attributes #0 = { "ShaderType"="0" } \ No newline at end of file
+declare void @llvm.r600.store.swizzle(<4 x float>, i32, i32)