[PATCH] D135190: [DirectX backend] [NFC] Add analysis to collect DXILResources
Xiang Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 4 13:03:47 PDT 2022
python3kgae created this revision.
python3kgae added reviewers: pow2clk, beanz, bogner.
Herald added a subscriber: hiraditya.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Now only DXILTranslateMetadata uses DXILResources, so DXILResourceWrapper is only used by DXILTranslateMetadata.
Once we add lower for createHandle, DXILResourceWrapper will be used in more passes.
Also we can add resource index allocation in DXILResourceWrapper.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135190
Files:
llvm/lib/Target/DirectX/CMakeLists.txt
llvm/lib/Target/DirectX/DXILResourceAnalysis.cpp
llvm/lib/Target/DirectX/DXILResourceAnalysis.h
llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp
llvm/lib/Target/DirectX/DirectX.h
llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135190.465130.patch
Type: text/x-patch
Size: 6134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221004/125a93cb/attachment.bin>
More information about the llvm-commits
mailing list