[PATCH] D136390: [HLSL] skip unused global resource when collect resources.

Xiang Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 16:12:29 PDT 2022


python3kgae created this revision.
python3kgae added reviewers: bogner, beanz, pow2clk.
Herald added subscribers: Anastasia, hiraditya.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Only used global resource should be added to resource table for DXIL.
Assume optimization runs before collecting resources.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136390

Files:
  llvm/lib/Target/DirectX/DXILResource.cpp
  llvm/test/CodeGen/DirectX/UAVMetadata.ll
  llvm/test/CodeGen/DirectX/UnusedUAV.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136390.469391.patch
Type: text/x-patch
Size: 6785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221020/dc367835/attachment.bin>


More information about the llvm-commits mailing list