[all-commits] [llvm/llvm-project] ad5992: [Clang][AMDGPU] Add a new builtin type for buffer ...

Shilei Tian via All-commits all-commits at lists.llvm.org
Tue Jun 18 17:47:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad599211a79dd7817f110241372075d82c0ae52a
      https://github.com/llvm/llvm-project/commit/ad599211a79dd7817f110241372075d82c0ae52a
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-06-18 (Tue, 18 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/Type.h
    M clang/include/clang/AST/TypeProperties.td
    A clang/include/clang/Basic/AMDGPUTypes.def
    M clang/include/clang/Serialization/ASTBitCodes.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTImporter.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/AST/MicrosoftMangle.cpp
    M clang/lib/AST/NSAPI.cpp
    M clang/lib/AST/PrintfFormatString.cpp
    M clang/lib/AST/Type.cpp
    M clang/lib/AST/TypeLoc.cpp
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CodeGenTypes.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/lib/Index/USRGeneration.cpp
    M clang/lib/Sema/Sema.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Serialization/ASTCommon.cpp
    M clang/lib/Serialization/ASTReader.cpp
    A clang/test/AST/ast-dump-amdgpu-types.c
    A clang/test/CodeGen/amdgpu-buffer-rsrc-type-debug-info.c
    A clang/test/CodeGenCXX/amdgpu-buffer-rsrc-typeinfo.cpp
    A clang/test/CodeGenOpenCL/amdgcn-buffer-rsrc-type.cl
    A clang/test/SemaCXX/amdgpu-buffer-rsrc.cpp
    A clang/test/SemaHIP/amdgpu-buffer-rsrc.hip
    A clang/test/SemaOpenCL/amdgpu-buffer-rsrc.cl
    A clang/test/SemaOpenMP/amdgpu-buffer-rsrc.cpp
    M clang/tools/libclang/CIndex.cpp

  Log Message:
  -----------
  [Clang][AMDGPU] Add a new builtin type for buffer rsrc (#94830)

This patch adds a new builtin type for AMDGPU's buffer rsrc data type,
which is effectively an AS 8 pointer. This is needed because we'd like
to expose certain intrinsics to users via builtins which take buffer
rsrc as argument.



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