[all-commits] [llvm/llvm-project] 9488c4: [HLSL] Add Packed Types for pack_ and unpack_ intr...

Alexander Johnston via All-commits all-commits at lists.llvm.org
Wed Sep 30 09:03:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9488c46651de0fbec038e6b8578c1e651d89e576
      https://github.com/llvm/llvm-project/commit/9488c46651de0fbec038e6b8578c1e651d89e576
  Author: Alexander Johnston <alexander.johnston at amd.com>
  Date:   2026-09-30 (Wed, 30 Sep 2026)

  Changed paths:
    M clang/include/clang/AST/ASTContext.h
    M clang/include/clang/AST/TypeBase.h
    M clang/include/clang/AST/TypeProperties.td
    M clang/include/clang/Basic/HLSLIntrinsics.td
    A clang/include/clang/Basic/HLSLPackedTypes.def
    M clang/include/clang/Basic/Specifiers.h
    M clang/include/clang/Basic/TokenKinds.def
    M clang/include/clang/Sema/DeclSpec.h
    M clang/include/clang/Sema/Overload.h
    M clang/include/clang/Sema/SemaHLSL.h
    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/CodeGen/QualTypeMapper.cpp
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/lib/Parse/ParseTentative.cpp
    M clang/lib/Sema/DeclSpec.cpp
    M clang/lib/Sema/SemaCast.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaExprCXX.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M clang/lib/Sema/SemaOverload.cpp
    M clang/lib/Sema/SemaTemplateVariadic.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/lib/Serialization/ASTCommon.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/UnifiedSymbolResolution/USRGeneration.cpp
    A clang/test/AST/HLSL/int8_t4_packed.hlsl
    A clang/test/AST/HLSL/uint8_t4_packed.hlsl
    A clang/test/CodeGenHLSL/packed-types.hlsl
    A clang/test/SemaHLSL/Types/packed-types-error.hlsl
    A clang/test/SemaHLSL/Types/packed-types-size.hlsl
    M clang/tools/libclang/CIndex.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

  Log Message:
  -----------
  [HLSL] Add Packed Types for pack_ and unpack_ intrinsics (#224277)

Adds the int8_t4_packed and uint8_t4_packed types for HLSL.
These are used by the SM6.6 pack_ and unpack_ intrinsics.
The types are convertible to and from uint and each other, as describe
in the DirectX Specs.



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