[all-commits] [llvm/llvm-project] 220185: [DirectX backend] Add analysis to collect DXILReso...

Xiang Li via All-commits all-commits at lists.llvm.org
Thu Oct 6 19:34:46 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 220185552f4484155b2893a1568f5d71c23a33cf
      https://github.com/llvm/llvm-project/commit/220185552f4484155b2893a1568f5d71c23a33cf
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

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

  Log Message:
  -----------
  [DirectX backend] Add analysis to collect DXILResources

Now only DXILTranslateMetadata uses DXILResources, so DXILResourceWrapper is only used by DXILTranslateMetadata.
Once we add lower for createHandle, DXILResourceWrapper will be used in more passes.
Also we can add resource index allocation in DXILResourceWrapper.

Reviewed By: beanz

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




More information about the All-commits mailing list