[all-commits] [llvm/llvm-project] 23d65a: [OpenCL] Support enum and typedef args in TableGen...

Sven van Haastregt via All-commits all-commits at lists.llvm.org
Wed Feb 17 06:18:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 23d65aa446312402a0b4615122f0a18d4467ed60
      https://github.com/llvm/llvm-project/commit/23d65aa446312402a0b4615122f0a18d4467ed60
  Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    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] Support enum and typedef args in TableGen BIFs

Add enum and typedef argument support to `-fdeclare-opencl-builtins`,
which was the last major missing feature.

Adding the remaining missing builtins is left as future work.

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




More information about the All-commits mailing list