summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenOpenCL/vector_literals_valid.cl
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2019-08-05 09:50:28 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2019-08-05 09:50:28 +0000
commitab4a5d14b5822a43f1add78851bd34606f0e3f44 (patch)
treee97d12b4c147a38de5fa0e7003c2a19c722134c5 /clang/test/CodeGenOpenCL/vector_literals_valid.cl
parent6c5fb61f8bcc4323a5f128a748e12bfc51b185a4 (diff)
downloadbcm5719-llvm-ab4a5d14b5822a43f1add78851bd34606f0e3f44.tar.gz
bcm5719-llvm-ab4a5d14b5822a43f1add78851bd34606f0e3f44.zip
[OpenCL] Fix vector literal test broken in rL367675.
Avoid checking alignment unnecessary that is not portable among targets. llvm-svn: 367823
Diffstat (limited to 'clang/test/CodeGenOpenCL/vector_literals_valid.cl')
-rw-r--r--clang/test/CodeGenOpenCL/vector_literals_valid.cl4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenOpenCL/vector_literals_valid.cl b/clang/test/CodeGenOpenCL/vector_literals_valid.cl
index 5aa7ae4a4b8..249c95cd756 100644
--- a/clang/test/CodeGenOpenCL/vector_literals_valid.cl
+++ b/clang/test/CodeGenOpenCL/vector_literals_valid.cl
@@ -51,11 +51,11 @@ void vector_literals_valid() {
//CHECK: store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %a
int4 a = (int4)(1);
- //CHECK: load <4 x i32>, <4 x i32>* %a, align 16
+ //CHECK: load <4 x i32>, <4 x i32>* %a
//CHECK: shufflevector <4 x i32> %{{[0-9]+}}, <4 x i32> undef, <2 x i32> <i32 0, i32 1>
//CHECK: shufflevector <2 x i32> %{{[0-9]+}}, <2 x i32> undef, <8 x i32> <i32 0, i32 1, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
//CHECK: shufflevector <8 x i32> <i32 1, i32 2, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>, <8 x i32> %{{.+}}, <8 x i32> <i32 0, i32 1, i32 8, i32 9, i32 undef, i32 undef, i32 undef, i32 undef>
- //CHECK: load <4 x i32>, <4 x i32>* %a, align 16
+ //CHECK: load <4 x i32>, <4 x i32>* %a
//CHECK: shufflevector <4 x i32> %{{[0-9]+}}, <4 x i32> undef, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 undef, i32 undef, i32 undef, i32 undef>
//CHECK: shufflevector <8 x i32> %{{.+}}, <8 x i32> %{{.+}}, <8 x i32> <i32 0, i32 1, i32 2, i32 3, i32 8, i32 9, i32 10, i32 11>
int8 b = (int8)(1, 2, a.xy, a);
OpenPOWER on IntegriCloud