[DirectX] Add MC Register and Frame stubs
authorChris Bieneman <chris.bieneman@me.com>
Mon, 6 Jun 2022 20:34:47 +0000 (15:34 -0500)
committerChris Bieneman <chris.bieneman@me.com>
Sat, 18 Jun 2022 02:08:17 +0000 (21:08 -0500)
commitc0320df9f5c0043ca17acfc43e7bdfd470045955
tree2294c236c7b8d4f548413795e91e4f2430976c33
parentc20381b226039d5789929c1942a2003711d6b4d0
[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
llvm/lib/Target/DirectX/CMakeLists.txt
llvm/lib/Target/DirectX/DXILStubs.td [new file with mode: 0644]
llvm/lib/Target/DirectX/DirectX.td
llvm/lib/Target/DirectX/DirectXFrameLowering.h [new file with mode: 0644]
llvm/lib/Target/DirectX/DirectXInstrInfo.cpp [new file with mode: 0644]
llvm/lib/Target/DirectX/DirectXInstrInfo.h [new file with mode: 0644]
llvm/lib/Target/DirectX/DirectXRegisterInfo.cpp [new file with mode: 0644]
llvm/lib/Target/DirectX/DirectXRegisterInfo.h [new file with mode: 0644]
llvm/lib/Target/DirectX/MCTargetDesc/DirectXMCTargetDesc.h [new file with mode: 0644]