[all-commits] [llvm/llvm-project] 73ebb0: [DirectX] Support opaque ptr for ValueAsMetadata i...

Xiang Li via All-commits all-commits at lists.llvm.org
Wed Jun 22 09:10:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73ebb05e4423246c7ca8c084abb5666cdf2611ab
      https://github.com/llvm/llvm-project/commit/73ebb05e4423246c7ca8c084abb5666cdf2611ab
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-06-22 (Wed, 22 Jun 2022)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
    M llvm/lib/Target/DirectX/DXILWriter/DXILValueEnumerator.cpp
    A llvm/test/tools/dxil-dis/opaque-value_as_metadata.ll

  Log Message:
  -----------
  [DirectX] Support opaque ptr for ValueAsMetadata in DXILBitcodeWriter

When writeValueAsMetadata for GlobalVariable and Function, write TypedPointerType for ValueType and FunctionType.

Reviewed By: bogner

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




More information about the All-commits mailing list