aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic
diff options
context:
space:
mode:
authorScott Linder <Scott.Linder@amd.com>2022-04-05 18:49:33 +0000
committerScott Linder <Scott.Linder@amd.com>2022-04-05 19:10:23 +0000
commit09f33a430b72fffe06fde9e07c0acd5c4cd2e59e (patch)
tree99d726103bf8dc893e4e0c146af179e531567b72 /clang/lib/Basic
parent84f0a36b14bbd464d65cb1a6135134072b828447 (diff)
downloadllvm-09f33a430b72fffe06fde9e07c0acd5c4cd2e59e.zip
llvm-09f33a430b72fffe06fde9e07c0acd5c4cd2e59e.tar.gz
llvm-09f33a430b72fffe06fde9e07c0acd5c4cd2e59e.tar.bz2
[AMDGPU][OpenCL] Remove "printf and hostcall" diagnostic
The diagnostic is unreliable, and triggers even for dead uses of hostcall that may exist when linking the device-libs at lower optimization levels. Eliminate the diagnostic, and directly document the limitation for OpenCL before code object V5. Make some NFC changes to clarify the related code in the MetadataStreamer. Add a clang test to tie OCL sources containing printf to the backend IR tests for this situation. Reviewed By: sameerds, arsenm, yaxunl Differential Revision: https://reviews.llvm.org/D121951
Diffstat (limited to 'clang/lib/Basic')
0 files changed, 0 insertions, 0 deletions