[all-commits] [llvm/llvm-project] 8b0223: [AMDGPU][Clang] add __builtin_amdgcn_av_(load|stor...

Sameer Sahasrabuddhe via All-commits all-commits at lists.llvm.org
Tue Jun 9 05:40:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b0223858b1e15a4310de18445d972e7648b740f
      https://github.com/llvm/llvm-project/commit/8b0223858b1e15a4310de18445d972e7648b740f
  Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Basic/BuiltinsAMDGPU.td
    M clang/include/clang/Basic/BuiltinsAMDGPUDocs.td
    M clang/include/clang/Sema/SemaAMDGPU.h
    M clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
    M clang/lib/Sema/SemaAMDGPU.cpp
    M clang/test/CodeGen/amdgpu-builtin-is-invocable.c
    M clang/test/CodeGen/amdgpu-builtin-processor-is.c
    M clang/test/CodeGen/link-builtin-bitcode.c
    M clang/test/CodeGenCXX/dynamic-cast-address-space.cpp
    A clang/test/CodeGenOpenCL/builtins-amdgcn-global-load-store.cl
    A clang/test/SemaHIP/amdgpu-av-load-store.hip
    A clang/test/SemaOpenCL/builtins-amdgcn-global-load-store-error.cl
    A clang/test/SemaOpenCL/builtins-amdgcn-global-load-store-target-error.cl
    M llvm/lib/TargetParser/AMDGPUTargetParser.cpp

  Log Message:
  -----------
  [AMDGPU][Clang] add __builtin_amdgcn_av_(load|store)_b128 (#199176)

These builtins allow the program to request store-available and
load-visible accesses as described in #191246. Each of them takes a
__MEMORY_SCOPE_* operand that is then translated to target-specific
cache policy bits.

This patch was extracted from #172090.

Co-authored-by: macurtis-amd <macurtis at amd.com>
Assisted-by: Claude Opus 4.6

---------

Co-authored-by: macurtis-amd <macurtis at amd.com>



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