aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorHelena Kotas <hekotas@microsoft.com>2025-03-12 22:35:07 -0700
committerGitHub <noreply@github.com>2025-03-12 22:35:07 -0700
commit73e12de062c17eddfa08f61ba8f44a20fa912f1b (patch)
tree2ab13b4fe02414ec56460de7663b32b6860262fe /llvm/lib/CodeGen/MachineModuleInfo.cpp
parentbc4b2c74fe4eae40652e0f79ee9e0397110c0423 (diff)
downloadllvm-73e12de062c17eddfa08f61ba8f44a20fa912f1b.zip
llvm-73e12de062c17eddfa08f61ba8f44a20fa912f1b.tar.gz
llvm-73e12de062c17eddfa08f61ba8f44a20fa912f1b.tar.bz2
[HLSL] Implement explicit layout for default constant buffer ($Globals) (#128991)
Processes `HLSLResourceBindingAttr` attributes that represent `register(c#)` annotations on default constant buffer declarations and applies its value to the buffer layout. Any default buffer declarations without an explicit `register(c#)` annotation are placed after the elements with explicit layout. This PR also adds a test case for a `cbuffer` that does not have `packoffset` on all declarations. Same layout rules apply here as well. Fixes #126791
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions