[all-commits] [llvm/llvm-project] 08d27f: [Clang][SPIRV] Add __spirv_event_t builtin type (#...

elizabethandrews via All-commits all-commits at lists.llvm.org
Thu Aug 6 10:14:41 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 08d27f08335973e084254d8c02033a322bdb3ead
      https://github.com/llvm/llvm-project/commit/08d27f08335973e084254d8c02033a322bdb3ead
  Author: elizabethandrews <elizabeth.andrews at intel.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/TypeBase.h
    M clang/include/clang/AST/TypeProperties.td
    A clang/include/clang/Basic/SPIRVTypes.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/CIR/CodeGen/CIRGenItaniumCXXABI.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/CodeGen/QualTypeMapper.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
    M clang/lib/UnifiedSymbolResolution/USRGeneration.cpp
    A clang/test/AST/spirv-event-type.cpp
    A clang/test/CodeGenCXX/spirv-event-type.cpp
    A clang/test/Modules/spirv-event.cpp
    A clang/test/Sema/spirv-event.c
    A clang/test/SemaCXX/spirv-event.cpp
    M clang/tools/libclang/CIndex.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

  Log Message:
  -----------
  [Clang][SPIRV] Add __spirv_event_t builtin type (#207077)

Add a new builtin type __spirv_event_t for SPIR-V targets. It represents
SPIR-V's OpTypeEvent and lowers to the target("spirv.Event") extension
type.

We would like to expose SPIR-V instructions to users via builtins (not
yet
implemented). The builtins return an event type.

Assisted by Claude Opus 4.8 for writing tests.



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