[all-commits] [llvm/llvm-project] f0efc0: [OpenCL] Introduce new method for validating OpenC...

Anton Zabaznov via All-commits all-commits at lists.llvm.org
Wed Apr 28 06:00:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0efc00751313779671746492ded4014b715df6a
      https://github.com/llvm/llvm-project/commit/f0efc00751313779671746492ded4014b715df6a
  Author: Anton Zabaznov <anton.zabaznov at intel.com>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

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

  Log Message:
  -----------
  [OpenCL] Introduce new method for validating OpenCL target

Language options are not available when a target is being created,
thus, a new method is introduced. Also, some refactoring is done,
such as removing OpenCL feature macros setting from TargetInfo.

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D101087




More information about the All-commits mailing list