[all-commits] [llvm/llvm-project] c6dfbc: [DirectX] Refactor RootSignature Backend to remove...

joaosaffran via All-commits all-commits at lists.llvm.org
Mon Aug 25 13:28:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c6dfbc5cc7b89637ec7f06d7c0018ef8964c9323
      https://github.com/llvm/llvm-project/commit/c6dfbc5cc7b89637ec7f06d7c0018ef8964c9323
  Author: joaosaffran <joaosaffranllvm at gmail.com>
  Date:   2025-08-25 (Mon, 25 Aug 2025)

  Changed paths:
    M llvm/include/llvm/MC/DXContainerRootSignature.h
    M llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp
    M llvm/lib/MC/DXContainerRootSignature.cpp
    M llvm/lib/ObjectYAML/DXContainerEmitter.cpp
    M llvm/lib/Target/DirectX/DXILPostOptimizationValidation.cpp
    M llvm/lib/Target/DirectX/DXILRootSignature.cpp
    M llvm/test/CodeGen/DirectX/ContainerData/RootSignature-Parameters.ll
    R llvm/test/ObjectYAML/DXContainer/RootSignature-InvalidType.yaml
    R llvm/test/ObjectYAML/DXContainer/RootSignature-InvalidVisibility.yaml

  Log Message:
  -----------
  [DirectX] Refactor RootSignature Backend to remove `to_underlying` from Root Parameter Header (#154249)

This patch is refactoring Root Parameter Header in DX Container backend
to remove the usage of `to_underlying`. This requires some changes:
first, MC Root Signature should not depend on Object/DXContainer.h;
Second, we need to assume data to be valid in scenarios where it was
originally not expected, this made some tests be removed.



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