[PATCH] D127166: [DirectX] Add DirectX target object writer
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 6 16:32:20 PDT 2022
beanz created this revision.
beanz added reviewers: kuhar, bogner, 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 is the last piece to bring together writing DXContainer files
containing DXIL through the DirectX backend.
While this change only has one test, all of the tests under
llvm/test/tools/dxil-dis also exercise this code. With this change the
output object file type for the dxil target is now DXContainer. Each of
the existing tests will generate DXContainer files, and the dxil-dis
tests additionally verify that the DXContainers generated are
well-formed and can be parsed by the DirectXShaderCompiler tools.
Depends on D127153 <https://reviews.llvm.org/D127153> and D127165 <https://reviews.llvm.org/D127165>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D127166
Files:
llvm/lib/Target/DirectX/DirectXSubtarget.cpp
llvm/lib/Target/DirectX/DirectXSubtarget.h
llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
llvm/lib/Target/DirectX/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/DirectX/MCTargetDesc/DirectXContainerObjectWriter.cpp
llvm/lib/Target/DirectX/MCTargetDesc/DirectXContainerObjectWriter.h
llvm/lib/Target/DirectX/MCTargetDesc/DirectXMCTargetDesc.cpp
llvm/test/CodeGen/DirectX/embed-dxil.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127166.434642.patch
Type: text/x-patch
Size: 14138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220606/7de12d51/attachment.bin>
More information about the llvm-commits
mailing list