[clang] [AMDGPU] Mark int64_t and intmax_t as LP64 (PR #214865)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 9 05:33:01 PDT 2026
================
@@ -10,7 +10,7 @@ void test_atomic_inc32_av(volatile unsigned *p, unsigned val) {
[[clang::amdgpu_av("none")]] __builtin_amdgcn_atomic_inc32(p, val, __ATOMIC_SEQ_CST, "agent"); // expected-warning {{only applies to atomic expressions or Clang atomic builtins}}
}
-void test_atomic_dec64_av(volatile unsigned long long *p, unsigned long long val) {
----------------
jhuber6 wrote:
No, it's just like Linux where it's a distinct type from `long` for overloading but ultimately lowers to the same thing.
https://github.com/llvm/llvm-project/pull/214865
More information about the cfe-commits
mailing list