[all-commits] [llvm/llvm-project] c50391: [RFC][Docs][Clang][AMDGPU] Add AMDGPU builtins doc...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Feb 12 09:42:44 PST 2026


  Branch: refs/heads/users/shiltian/amdgpu-clang-builtins-doc
  Home:   https://github.com/llvm/llvm-project
  Commit: c503914390e150e8163b11bd0a8da99cb6eadfda
      https://github.com/llvm/llvm-project/commit/c503914390e150e8163b11bd0a8da99cb6eadfda
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    A clang/docs/AMDGPUBuiltins.rst
    M clang/docs/index.rst

  Log Message:
  -----------
  [RFC][Docs][Clang][AMDGPU] Add AMDGPU builtins documentation

Add comprehensive documentation for AMDGPU target-specific builtins
(`AMDGPUBuiltins.rst`) covering argument semantics, restrictions, and
lowering notes for all builtin families.

This documentation was generated by AI (Claude) by cross-referencing:
- `clang/include/clang/Basic/BuiltinsAMDGPU.td` (builtin definitions)
- `llvm/include/llvm/IR/IntrinsicsAMDGPU.td` (intrinsic definitions)
- `clang/lib/Sema/SemaAMDGPU.cpp` (argument validation/constraints)
- `clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp` (lowering logic)

I did my best to proofread the parts I'm familiar with, but it would be greatly
appreciated if more people could help review it as well.



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