[all-commits] [llvm/llvm-project] c0320d: [DirectX] Add MC Register and Frame stubs

Chris B via All-commits all-commits at lists.llvm.org
Fri Jun 17 19:16:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0320df9f5c0043ca17acfc43e7bdfd470045955
      https://github.com/llvm/llvm-project/commit/c0320df9f5c0043ca17acfc43e7bdfd470045955
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-06-17 (Fri, 17 Jun 2022)

  Changed paths:
    M llvm/lib/Target/DirectX/CMakeLists.txt
    A llvm/lib/Target/DirectX/DXILStubs.td
    M llvm/lib/Target/DirectX/DirectX.td
    A llvm/lib/Target/DirectX/DirectXFrameLowering.h
    A llvm/lib/Target/DirectX/DirectXInstrInfo.cpp
    A llvm/lib/Target/DirectX/DirectXInstrInfo.h
    A llvm/lib/Target/DirectX/DirectXRegisterInfo.cpp
    A llvm/lib/Target/DirectX/DirectXRegisterInfo.h
    A llvm/lib/Target/DirectX/MCTargetDesc/DirectXMCTargetDesc.h

  Log Message:
  -----------
  [DirectX] Add MC Register and Frame stubs

This patch adds no-op stubs overrides for the MCRegisterInfo and
MCFrameLowering for the DirectX/DXIL code generation path.

Since DXIL will not generate MCInstrs these stubs do nothing, but they
need to exist so that the MC layer can be used to emit DXContainer
objects.

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




More information about the All-commits mailing list