[clang] [AMDGPU] Add missing `__builtin_amdgcn_wavefrontsize` builtin (PR #80741)

Stanislav Mekhanoshin via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 5 13:32:54 PST 2024


================
@@ -832,6 +832,13 @@ void test_atomic_inc_dec(local uint *lptr, global uint *gptr, uint val) {
   res = __builtin_amdgcn_atomic_dec32((volatile global uint*)gptr, val, __ATOMIC_SEQ_CST, "");
 }
 
+// CHECK-LABEL test_wavefrontsize(
+unsigned test_wavefrontsize() {
----------------
rampitec wrote:

Missing check for the test.

https://github.com/llvm/llvm-project/pull/80741


More information about the cfe-commits mailing list