SuccessChanges

Summary

  1. [mlir] Remove a number of methods from mlir::OpState that just forward to mlir::Operation. All call sites have been converted in previous changes. (details)
  2. [OpenCL] Add clang extension for function pointers. (details)
  3. [OpenCL] Add clang extension for variadic functions. (details)
Commit badc7606b0f622f06efc466c86fecc8b45a165fd by csigg
[mlir] Remove a number of methods from mlir::OpState that just forward to mlir::Operation. All call sites have been converted in previous changes.
The file was modifiedmlir/lib/Conversion/AffineToStandard/AffineToStandard.cpp
The file was modifiedmlir/test/lib/Dialect/Shape/TestShapeFunctions.cpp
Commit 4fde2b6a0c080cb2a598383b5850038d67ca6833 by anastasia.stulova
[OpenCL] Add clang extension for function pointers.

The new clang internal extension '__cl_clang_function_pointers'
allows use of function pointers and other features that have
the same functionality:
- Use of member function pointers;
- Unrestricted use of references to functions;
- Virtual member functions.

This not a vendor extension and therefore it doesn't require any
special target support. Exposing this functionality fully
will require vendor or Khronos extension.

Tags: #clang

Differential Revision: https://reviews.llvm.org/D94021
The file was modifiedclang/include/clang/Basic/OpenCLExtensions.def
The file was modifiedclang/lib/Basic/Targets/NVPTX.h
The file was modifiedclang/test/Misc/r600.languageOptsOpenCL.cl
The file was modifiedclang/test/Parser/opencl-cxx-virtual.cl
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/test/Misc/amdgcn.languageOptsOpenCL.cl
The file was modifiedclang/test/SemaOpenCL/func.cl
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/test/SemaOpenCLCXX/members.cl
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/test/Misc/nvptx.languageOptsOpenCL.cl
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/test/SemaOpenCL/extension-version.cl
Commit 0e874fc014be818a9c6782729f2c8e8273a7a906 by anastasia.stulova
[OpenCL] Add clang extension for variadic functions.

With the internal clang extension '__cl_clang_variadic_functions'
variadic functions are accepted by the frontend.

This is not a fully supported vendor/Khronos extension
as it can only be used on targets with variadic prototype
support or in metaprogramming to represent functions with
generic prototype without calling such functions in the
kernel code.

Tags: #clang

Differential Revision: https://reviews.llvm.org/D94027
The file was modifiedclang/test/SemaOpenCL/func.cl
The file was modifiedclang/include/clang/Basic/OpenCLExtensions.def
The file was modifiedclang/test/SemaOpenCL/extension-version.cl
The file was modifiedclang/test/Misc/amdgcn.languageOptsOpenCL.cl
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/lib/Basic/Targets/AMDGPU.h
The file was modifiedclang/lib/Sema/SemaType.cpp
The file was modifiedclang/lib/Basic/Targets/NVPTX.h
The file was modifiedclang/test/Misc/r600.languageOptsOpenCL.cl
The file was modifiedclang/test/Misc/nvptx.languageOptsOpenCL.cl