llvm-project
7752b2ef - libclc: Add uintptr_t overloads of atomic_fetch_add and sub (#185263)

Commit
3 days ago
libclc: Add uintptr_t overloads of atomic_fetch_add and sub (#185263) This is a special case because the pointee type is unsigned, but the input value is signed. Directly use the opencl builtins, because these work correctly without any ugly casting required, and it's not worth putting a wrapper in clc.
Author
Parents
Loading