[PATCH] D135802: [DX] Add pass to pretty-print DXIL metadata in asm

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 12 11:26:25 PDT 2022


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

When DXC prints IR output it adds a bunch of IR comments in a header
that describe the DXIL metadata in a more human-readable format. This
pass will serve that purpose for LLVM by printing out ahead of the IR
printer.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135802

Files:
  llvm/lib/Target/DirectX/CMakeLists.txt
  llvm/lib/Target/DirectX/DXILPrettyPrinter.cpp
  llvm/lib/Target/DirectX/DirectX.h
  llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
  llvm/test/CodeGen/DirectX/UAVMetadata.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135802.467208.patch
Type: text/x-patch
Size: 4550 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221012/275377ca/attachment.bin>


More information about the llvm-commits mailing list