aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenOpenCL/cast_image.cl
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenOpenCL/cast_image.cl')
-rw-r--r--test/CodeGenOpenCL/cast_image.cl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenOpenCL/cast_image.cl b/test/CodeGenOpenCL/cast_image.cl
index 479404a91371..d4e24b4f051b 100644
--- a/test/CodeGenOpenCL/cast_image.cl
+++ b/test/CodeGenOpenCL/cast_image.cl
@@ -4,7 +4,7 @@
#ifdef __AMDGCN__
constant int* convert(image2d_t img) {
- // AMDGCN: bitcast %opencl.image2d_ro_t addrspace(2)* %img to i32 addrspace(2)*
+ // AMDGCN: bitcast %opencl.image2d_ro_t addrspace(4)* %img to i32 addrspace(4)*
return __builtin_astype(img, constant int*);
}