[all-commits] [llvm/llvm-project] c5c4a8: [OpenCL] Remove spurious atomic_fetch tablegen bui...
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Thu Mar 18 05:17:52 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c5c4a88a840037fd38cb35d5efd524d51dcc091b
https://github.com/llvm/llvm-project/commit/c5c4a88a840037fd38cb35d5efd524d51dcc091b
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M clang/lib/Sema/OpenCLBuiltins.td
M clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
Log Message:
-----------
[OpenCL] Remove spurious atomic_fetch tablegen builtins
The `int` and `long` versions of these builtins already provide the
necessary overloads for `intptr_t` and `uintptr_t` arguments, as
`ASTContext` defines `atomic_(u)intptr_t` in terms of the `int` or
`long` types.
Prior to this patch, calls to those builtins with particular argument
types resulted in call-is-ambiguous errors.
Differential Revision: https://reviews.llvm.org/D98520
More information about the All-commits
mailing list