[all-commits] [llvm/llvm-project] 8d7cb5: [HLSL][NFC] Update resource metadata tests to not ...

Helena Kotas via All-commits all-commits at lists.llvm.org
Tue Mar 11 22:22:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d7cb5d05b1278d96a8811581d3b0baf0753e0e3
      https://github.com/llvm/llvm-project/commit/8d7cb5d05b1278d96a8811581d3b0baf0753e0e3
  Author: Helena Kotas <hekotas at microsoft.com>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M clang/test/CodeGenHLSL/cbuffer.hlsl
    A llvm/test/CodeGen/DirectX/Metadata/cbuffer_metadata.ll
    A llvm/test/CodeGen/DirectX/Metadata/srv_metadata.ll
    A llvm/test/CodeGen/DirectX/Metadata/uav_metadata.ll
    R llvm/test/CodeGen/DirectX/UAVMetadata.ll
    R llvm/test/CodeGen/DirectX/cbuf.ll
    R llvm/test/CodeGen/DirectX/legacy_cb_layout_0.ll
    R llvm/test/CodeGen/DirectX/legacy_cb_layout_1.ll
    R llvm/test/CodeGen/DirectX/legacy_cb_layout_2.ll
    R llvm/test/CodeGen/DirectX/legacy_cb_layout_3.ll

  Log Message:
  -----------
  [HLSL][NFC] Update resource metadata tests to not use obsolete annotations (#130222)

Update resource metadata tests to generate metadata based on
`llvm.dx.resource.handlefrombinding` data collected in
`DXILResourceBindingAnalysis`.

- `UAVMetadata.ll` is updated, renamed to `uav_metadata.ll`, and placed
under `Metadata` directory in `llvm/test/CodeGen/DirectX`
- `srv_metadata.ll` is a new test for SRV resource metadata
- `cbuf.ll` and `legacy_cb_layout_{0|1}.ll` tests were merged into
`cbuffer_metadata.ll`
- `legacy_cb_layout_{2|3}.ll` tests we moved to `cbuffer.hlsl` in Clang
CodeGen because there were more of a layout than metadata tests

Related to [#114126](https://github.com/llvm/llvm-project/issues/114126)



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