[all-commits] [llvm/llvm-project] e33b7a: [DirectX] Implement Shader Flag Analysis for `UAVs...

Deric C. via All-commits all-commits at lists.llvm.org
Tue Apr 29 11:56:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e33b7a1d6388007183b7657958a0d32626caea46
      https://github.com/llvm/llvm-project/commit/e33b7a1d6388007183b7657958a0d32626caea46
  Author: Deric C. <cheung.deric at gmail.com>
  Date:   2025-04-29 (Tue, 29 Apr 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILShaderFlags.cpp
    M llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-valver1.5.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs-array-valver1.6.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/max-64-uavs.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-alias-1.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.6.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-sm6.7.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/res-may-not-alias-valver1.8.ll
    M llvm/test/CodeGen/DirectX/ShaderFlags/typed-uav-load-additional-formats.ll
    A llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-lib-valver1.7.ll
    A llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-lib-valver1.8.ll
    A llvm/test/CodeGen/DirectX/ShaderFlags/uavs-at-every-stage-vs.ll

  Log Message:
  -----------
  [DirectX] Implement Shader Flag Analysis for `UAVsAtEveryStage`  (#137085)

Fixes #112272

In addition to the implementation of the UAVsAtEveryStage shader flag
analysis, several unrelated tests have had the `dx.valver` module
metadata defined to avoid setting the UAVsAtEveryStage shader flag in
them.
Example:
```
!dx.valver = !{!0}
!0 = !{i32 1, i32 8}
```

---------

Co-authored-by: Justin Bogner <mail at justinbogner.com>



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