[all-commits] [llvm/llvm-project] 56e3fc: [NFC][HLSL][RootSignature] Split up `HLSLRootSigna...

Finn Plummer via All-commits all-commits at lists.llvm.org
Fri Jul 4 07:59:19 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56e3fc4c42d1564913e431b91412ca192b50d09a
      https://github.com/llvm/llvm-project/commit/56e3fc4c42d1564913e431b91412ca192b50d09a
  Author: Finn Plummer <finn.c.plum at gmail.com>
  Date:   2025-07-04 (Fri, 04 Jul 2025)

  Changed paths:
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/lib/Sema/SemaHLSL.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
    R llvm/include/llvm/Frontend/HLSL/HLSLRootSignatureUtils.h
    A llvm/include/llvm/Frontend/HLSL/RootSignatureMetadata.h
    A llvm/include/llvm/Frontend/HLSL/RootSignatureValidations.h
    M llvm/lib/Frontend/HLSL/CMakeLists.txt
    A llvm/lib/Frontend/HLSL/HLSLRootSignature.cpp
    R llvm/lib/Frontend/HLSL/HLSLRootSignatureUtils.cpp
    A llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp
    A llvm/lib/Frontend/HLSL/RootSignatureValidations.cpp
    M llvm/unittests/Frontend/HLSLRootSignatureDumpTest.cpp
    M llvm/unittests/Frontend/HLSLRootSignatureRangesTest.cpp

  Log Message:
  -----------
  [NFC][HLSL][RootSignature] Split up `HLSLRootSignatureUtils` (#146124)

This pr breaks-up `HLSLRootSignatureUtils` into separate orthogonal and
meaningful libraries. This prevents it ending up as a dumping grounds of
many different parts.

- Creates a library `RootSignatureMetadata` to contain helper functions
for interacting the root signatures in their metadata representation
- Create a library `RootSignatureValidations` to contain helper
functions that will validate various values of root signatures
- Move the serialization of root signature elements to
`HLSLRootSignature`

Resolves: https://github.com/llvm/llvm-project/issues/145946



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