[all-commits] [llvm/llvm-project] 44e32f: [Clang][OpenCL] Fix wait_for_event argument addres...
Juan Manuel Martinez Caamaño via All-commits
all-commits at lists.llvm.org
Mon Apr 7 01:44:59 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 44e32fb80272b77186b42c7583dd0ed8ad668af4
https://github.com/llvm/llvm-project/commit/44e32fb80272b77186b42c7583dd0ed8ad668af4
Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
Date: 2025-04-07 (Mon, 07 Apr 2025)
Changed paths:
M clang/lib/Sema/OpenCLBuiltins.td
M clang/test/CodeGenOpenCL/fdeclare-opencl-builtins.cl
Log Message:
-----------
[Clang][OpenCL] Fix wait_for_event argument address space with -fdeclare-opencl-builtins (#134598)
The pointer argument for `wait_for_event(int, event_t*)` should take the
default address space: generic if available, otherwise private.
Before this patch it would always be generic with
`-fdeclare-opencl-builtins`. This was inconsistent with the behavior
when opencl-c.h is included.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list