[all-commits] [llvm/llvm-project] bd74f4: [OpenCL] Supports optional 64-bit floating point t...

Justas Janickas via All-commits all-commits at lists.llvm.org
Fri Sep 3 02:58:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd74f4b108346deb37f305690f164181df2e8602
      https://github.com/llvm/llvm-project/commit/bd74f4b108346deb37f305690f164181df2e8602
  Author: Justas Janickas <Justas.Janickas at arm.com>
  Date:   2021-09-03 (Fri, 03 Sep 2021)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/test/CodeGenOpenCL/printf.cl
    M clang/test/Misc/opencl-c-3.0.incorrect_options.cl
    M clang/test/SemaOpenCL/fp64-fp16-options.cl

  Log Message:
  -----------
  [OpenCL] Supports optional 64-bit floating point types in C++ for OpenCL 2021

Adds support for a feature macro `__opencl_c_fp64` in C++ for OpenCL
2021 enabling a respective optional core feature from OpenCL 3.0.

This change aims to achieve compatibility between C++ for OpenCL
2021 and OpenCL 3.0.

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




More information about the All-commits mailing list