[PATCH] D34235: [OpenCL] Fix OpenCL and SPIR version metadata generation.

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 19 10:04:05 PDT 2017

Anastasia added inline comments.

Comment at: test/CodeGenOpenCL/spir_version.cl:13
 kernel void foo() {}
+kernel void bar() {}
Would the original code produce duplicate version metadata here or is it just for overloaded functions? Would it make sense to add `CHECK-NOT` to make sure they are not generated twice?


More information about the cfe-commits mailing list