[all-commits] [llvm/llvm-project] 4959bf: [NFC] Refactor dxil metadata code

Chris B via All-commits all-commits at lists.llvm.org
Thu Sep 22 10:18:17 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4959bfa0604d57e14157af16d7b42963c3fd80bb
      https://github.com/llvm/llvm-project/commit/4959bfa0604d57e14157af16d7b42963c3fd80bb
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

  Changed paths:
    M llvm/lib/Target/DirectX/CMakeLists.txt
    A llvm/lib/Target/DirectX/DXILMetadata.cpp
    A llvm/lib/Target/DirectX/DXILMetadata.h
    M llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp

  Log Message:
  -----------
  [NFC] Refactor dxil metadata code

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.

Reviewed By: python3kgae

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




More information about the All-commits mailing list