[clang] [llvm] [AMDGPU] Implement builtin and intrinsic for s_wait_idle (PR #244238)

Fabian Ritter via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 30 02:24:55 PST 2026


================
@@ -1050,3 +1050,25 @@ to instruction memory, with the length specified by ``len``, which should be
 0-31 (1-32 chunks, units of 128 bytes).
 }];
 }
+
+//===----------------------------------------------------------------------===//
+// Wait Builtins
+//===----------------------------------------------------------------------===//
+
+def DocCatAMDGPUWait : DocumentationCategory<"Wait Builtins"> {
+  let Content = [{
+These builtins provide access to AMDGPU instructions that stall a wave until
----------------
ritter-x2a wrote:

Done.

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


More information about the cfe-commits mailing list