[all-commits] [llvm/llvm-project] 507373: [DirectX] Introduce `dx.Padding` type (#160957)

Justin Bogner via All-commits all-commits at lists.llvm.org
Thu Oct 16 11:32:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 507373306e52de2022e21ec62ac8bbda1d164768
      https://github.com/llvm/llvm-project/commit/507373306e52de2022e21ec62ac8bbda1d164768
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2025-10-16 (Thu, 16 Oct 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/DXILResource.h
    M llvm/lib/Analysis/DXILResource.cpp
    M llvm/lib/IR/Type.cpp
    M llvm/test/Analysis/DXILResource/buffer-frombinding.ll
    M llvm/test/CodeGen/DirectX/CBufferLoadLegacy-errors.ll
    M llvm/test/CodeGen/DirectX/CBufferLoadLegacy.ll
    M llvm/test/CodeGen/DirectX/ContainerData/PSVResources-order.ll
    M llvm/test/CodeGen/DirectX/ContainerData/PSVResources.ll
    M llvm/test/CodeGen/DirectX/CreateHandleFromBinding.ll
    M llvm/test/CodeGen/DirectX/ForwardHandleAccesses/cbuffer-access.ll
    A llvm/test/CodeGen/DirectX/Metadata/cbuffer-layouttype.ll
    A llvm/test/CodeGen/DirectX/Metadata/cbuffer-metadata.ll
    M llvm/test/CodeGen/DirectX/Metadata/cbuffer-only.ll
    R llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll
    M llvm/unittests/Analysis/DXILResourceTest.cpp

  Log Message:
  -----------
  [DirectX] Introduce `dx.Padding` type (#160957)

This introduces the `dx.Padding` type as an alternative to the
`dx.Layout` types that are currently used for cbuffers. Later, we'll
remove the `dx.Layout` types completely, but making the backend handle
either makes it easier to stage the necessary changes to get there.

See #147352 for details.



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