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

Sameer Sahasrabuddhe via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 25 20:23:12 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
----------------
ssahasra wrote:

```suggestion
These builtins ensure that the specified
```

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


More information about the cfe-commits mailing list