[PATCH] D37804: [OpenCL] Handle address space conversion while setting type alignment
Alexey Bader via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 22 11:02:00 PDT 2017
bader added inline comments.
================
Comment at: test/CodeGenOpenCL/vectorLoadStore.cl:7
+typedef float float4 __attribute((ext_vector_type(4)));
+;
----------------
Can we remove this line?
================
Comment at: test/CodeGenOpenCL/vectorLoadStore.cl:15
+
+// CHECK: define spir_func void @alignment()
+void alignment() {
----------------
Please, set SPIR target in clang options to make this check reliable.
https://reviews.llvm.org/D37804
More information about the cfe-commits
mailing list