aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/MCDisassembler.cpp
diff options
context:
space:
mode:
authorMariya Podchishchaeva <mariya.podchishchaeva@intel.com>2020-05-29 15:41:37 +0300
committerAlexey Bader <alexey.bader@intel.com>2020-05-29 18:00:48 +0300
commitcf6cc662eeee2b1416430f517850be9032788e39 (patch)
treee3fca4c08972f7c116a32d18ba118a77202c6599 /llvm/lib/MC/MCDisassembler/MCDisassembler.cpp
parent0e265e315784b4e47f984f8ed9fb7586130bacdc (diff)
downloadllvm-cf6cc662eeee2b1416430f517850be9032788e39.zip
llvm-cf6cc662eeee2b1416430f517850be9032788e39.tar.gz
llvm-cf6cc662eeee2b1416430f517850be9032788e39.tar.bz2
[OpenMP][SYCL] Improve diagnosing of unsupported types usage
Summary: Diagnostic is emitted if some declaration of unsupported type declaration is used inside device code. Memcpy operations for structs containing member with unsupported type are allowed. Fixed crash on attempt to emit diagnostic outside of the functions. The approach is generalized between SYCL and OpenMP. CUDA/OMP deferred diagnostic interface is going to be used for SYCL device. Reviewers: rsmith, rjmccall, ABataev, erichkeane, bader, jdoerfert, aaron.ballman Reviewed By: jdoerfert Subscribers: guansong, sstefan1, yaxunl, mgorny, bader, ebevhan, Anastasia, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D74387
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/MCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions