[PATCH] D101087: [OpenCL] Introduce new method for validating OpenCL target

Anton Zabaznov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 23 08:37:37 PDT 2021


azabaznov updated this revision to Diff 340053.
azabaznov added a comment.

Use `LangOptions::getOpenCLVersionTuple()` to provide diagnostics of OpenCL version


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101087/new/

https://reviews.llvm.org/D101087

Files:
  clang/include/clang/Basic/DiagnosticCommonKinds.td
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticParseKinds.td
  clang/include/clang/Basic/OpenCLOptions.h
  clang/include/clang/Basic/TargetInfo.h
  clang/lib/Basic/OpenCLOptions.cpp
  clang/lib/Basic/Targets.cpp
  clang/lib/Basic/Targets/X86.cpp
  clang/lib/Frontend/CompilerInstance.cpp
  clang/lib/Frontend/InitPreprocessor.cpp
  clang/test/Misc/nvptx.unsupported_core.cl
  clang/test/Misc/r600.unsupported_core.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101087.340053.patch
Type: text/x-patch
Size: 13138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210423/31c58c7a/attachment-0001.bin>


More information about the cfe-commits mailing list