[PATCH] D134397: [NFC] Refactor dxil metadata code

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 16:13:53 PDT 2022


beanz created this revision.
beanz added reviewers: bogner, pow2clk, tex3d, python3kgae.
Herald added a subscriber: hiraditya.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.

DXIL relies on a whole bunch of IR metadata constructs being populated
in the right shape. Rather than just hard coding or using complicated
arrangements of constant data strings, let's make first-class objects
that reprensent the metadata and manage reading and writing the
metadata from the module.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134397

Files:
  llvm/lib/Target/DirectX/CMakeLists.txt
  llvm/lib/Target/DirectX/DXILMetadata.cpp
  llvm/lib/Target/DirectX/DXILMetadata.h
  llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134397.462037.patch
Type: text/x-patch
Size: 6026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220921/ca085815/attachment.bin>


More information about the llvm-commits mailing list