diff options
author | Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> | 2014-12-04 05:30:58 +0000 |
---|---|---|
committer | Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> | 2014-12-04 05:30:58 +0000 |
commit | c6093fea0350cdaa9f4f24f9b36d976bd93e8c15 (patch) | |
tree | 0b166b9b30ddef7ae97b5c635565ef92a0196392 /clang/lib/CodeGen/CGStmtOpenMP.cpp | |
parent | 5bf9578ce4d6ab896faf9a122955ff3523cc19b5 (diff) | |
download | bcm5719-llvm-c6093fea0350cdaa9f4f24f9b36d976bd93e8c15.tar.gz bcm5719-llvm-c6093fea0350cdaa9f4f24f9b36d976bd93e8c15.zip |
Always emit kernel arg info for SPIR.
http://llvm.org/bugs/show_bug.cgi?id=21555
Currently, kernel argument metadata is omitted unless the
"-cl-kernel-arg-info" option is specified. But the SPIR 1.2 spec
requires that all metadata except kernel_arg_name should always be
emitted, and kernel_arg_name is only emitted when
"-cl-kernel-arg-info" is specified.
Patch ported by Ryan Burn from the Khronos SPIR generator.
https://github.com/KhronosGroup/SPIR
llvm-svn: 223340
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
0 files changed, 0 insertions, 0 deletions