[all-commits] [llvm/llvm-project] c79e86: [DirectX] Update CBuffer to refer to a `dx.Layout`...

Justin Bogner via All-commits all-commits at lists.llvm.org
Tue Feb 25 12:36:50 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c79e867cd2bbf414f53de169cd4480666303f0dc
      https://github.com/llvm/llvm-project/commit/c79e867cd2bbf414f53de169cd4480666303f0dc
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/DXILResource.h
    M llvm/lib/Analysis/DXILResource.cpp
    M llvm/test/Analysis/DXILResource/buffer-frombinding.ll

  Log Message:
  -----------
  [DirectX] Update CBuffer to refer to a `dx.Layout` type (#128697)

This adds support cbuffers based on llvm/wg-hlsl#171 - the type argument
of the CBuffer TargetExtType is either a `dx.Layout` type which reports
its own size, or it's a normal type and we can simply refer to
DataLayout.



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