[PATCH] D127147: [DirectX] Add MC Register and Frame stubs

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 13:40:29 PDT 2022


beanz created this revision.
beanz added reviewers: kuhar, bogner, lhames, MaskRay, pete.
Herald added subscribers: StephenFan, hiraditya, mgorny.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127147

Files:
  llvm/lib/Target/DirectX/CMakeLists.txt
  llvm/lib/Target/DirectX/DXILStubs.td
  llvm/lib/Target/DirectX/DirectX.td
  llvm/lib/Target/DirectX/DirectXFrameLowering.h
  llvm/lib/Target/DirectX/DirectXRegisterInfo.cpp
  llvm/lib/Target/DirectX/DirectXRegisterInfo.h
  llvm/lib/Target/DirectX/MCTargetDesc/DirectXMCTargetDesc.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127147.434593.patch
Type: text/x-patch
Size: 6731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220606/53d557ad/attachment.bin>


More information about the llvm-commits mailing list