[PATCH] D17596: [OpenCL] Add ocl and spir version for spir target
Xiuli PAN via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 20 03:16:21 PDT 2016
pxli168 added inline comments.
================
Comment at: test/CodeGenOpenCL/spir_version.cl:15
@@ +14,2 @@
+// CL20: !opencl.ocl.version = !{[[SPIR:![0-9]+]]}
+// CL20: [[SPIR]] = !{i32 2, i32 0}
----------------
Anastasia wrote:
> Forgotten to check OpenCL version here?
The metadate will be merged into the same one, so there will be only one 2.0 here.
http://reviews.llvm.org/D17596
More information about the cfe-commits
mailing list