[all-commits] [llvm/llvm-project] 074451: [OpenCL] opencl-c.h: fix atomic_fetch_max with add...
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Tue Feb 15 04:12:38 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 074451bd3352e022d015545e9091002d052daaa3
https://github.com/llvm/llvm-project/commit/074451bd3352e022d015545e9091002d052daaa3
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
M clang/lib/Headers/opencl-c.h
Log Message:
-----------
[OpenCL] opencl-c.h: fix atomic_fetch_max with addrspace
Commit 3c7d2f1b67d1 ("[OpenCL] opencl-c.h: add CL 3.0 non-generic
address space atomics", 2021-07-30) added some atomic_fetch_add/sub
overloads with uintptr_t arguments twice. Instead, they should have
been atomic_fetch_max overloads with non-generic address spaces.
More information about the All-commits
mailing list