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

Alexey Bader via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 04:46:11 PDT 2017


bader created this revision.

OpenCL and SPIR version metadata must be generated once per module instead of once per mangled global value.


https://reviews.llvm.org/D34235

Files:
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/CodeGenModule.h
  lib/CodeGen/TargetInfo.cpp
  test/CodeGenOpenCL/spir_version.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34235.102653.patch
Type: text/x-patch
Size: 7174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170615/de8f4522/attachment.bin>


More information about the cfe-commits mailing list