[all-commits] [llvm/llvm-project] efcc61: [Clang][AMDGPU] Enable type-checking on __builtin_...
Juan Manuel Martinez Caamaño via All-commits
all-commits at lists.llvm.org
Mon Oct 27 02:00:15 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: efcc6135daf1f44a9bfadf0aa7bdfb0eefe15074
https://github.com/llvm/llvm-project/commit/efcc6135daf1f44a9bfadf0aa7bdfb0eefe15074
Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
Date: 2025-10-27 (Mon, 27 Oct 2025)
Changed paths:
M clang/include/clang/Basic/BuiltinsAMDGPU.def
A clang/test/SemaHIP/builtins-amdgcn-raw-buffer-atomic-add.hip
A clang/test/SemaHIP/builtins-amdgcn-raw-buffer-atomic-fmin-max.hip
Log Message:
-----------
[Clang][AMDGPU] Enable type-checking on __builtin_amdgcn_raw_ptr_buffer_atomic_{{add|fadd|fmin|fmax}} (#164824)
The "t" flag is used to mark the builtin signature as meaningless.
This is done on several builtins taking pointers since otherwise HIP
code would not compile
during compilation for the host (even if the builtin is only used in
device code, compilation would fail).
The builtins changed by this patch are not affected by this issue, so
they do not need the "t" flag in the first place.
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