[all-commits] [llvm/llvm-project] 308b8b: [OpenCL] Add builtin function extension handling

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Wed Dec 18 02:14:15 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 308b8b76ceee805c964faf9f2176e3e05532a45b
      https://github.com/llvm/llvm-project/commit/308b8b76ceee805c964faf9f2176e3e05532a45b
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2019-12-18 (Wed, 18 Dec 2019)

  Changed paths:
    M clang/lib/Sema/OpenCLBuiltins.td
    M clang/lib/Sema/SemaLookup.cpp
    M clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
    M clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp

  Log Message:
  -----------
  [OpenCL] Add builtin function extension handling

Provide a mechanism to attach OpenCL extension information to builtin
functions, so that their use can be restricted according to the
extension(s) the builtin is part of.

Patch by Pierre Gondois and Sven van Haastregt.

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




More information about the All-commits mailing list