[all-commits] [llvm/llvm-project] e530a1: [DX] Add pass to pretty-print DXIL metadata in asm

Chris B via All-commits all-commits at lists.llvm.org
Fri Oct 14 11:33:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e530a1188eafb7986a87224b4e13975acd57a4ba
      https://github.com/llvm/llvm-project/commit/e530a1188eafb7986a87224b4e13975acd57a4ba
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-10-14 (Fri, 14 Oct 2022)

  Changed paths:
    M llvm/lib/Target/DirectX/CMakeLists.txt
    A llvm/lib/Target/DirectX/DXILPrettyPrinter.cpp
    M llvm/lib/Target/DirectX/DirectX.h
    M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
    M llvm/test/CodeGen/DirectX/UAVMetadata.ll

  Log Message:
  -----------
  [DX] Add pass to pretty-print DXIL metadata in asm

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.

Reviewed By: python3kgae

Differential Revision: https://reviews.llvm.org/D135802




More information about the All-commits mailing list