[PATCH] D122081: Add DXILPrepare CodeGen pass
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 19 13:26:09 PDT 2022
beanz created this revision.
beanz added reviewers: MaskRay, tstellar, pete, jdoerfert, sheredom, kuhar, antiagainst, nhaehnle, rnk.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.
The DXIL Prepare pass handles the IR mutations required to convert
modern LLVM IR into something that more closely resembles LLVM-3.7 IR
so that the DXIL bitcode writer can emit 3.7 IR.
This change adds the codegen pass handling the first two IR
transformations:
- stripping new function attributes
- converting fneg into fsub
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122081
Files:
llvm/lib/Target/DirectX/CMakeLists.txt
llvm/lib/Target/DirectX/DXILPrepare.cpp
llvm/lib/Target/DirectX/DirectX.h
llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
llvm/test/CodeGen/DirectX/fneg-conversion.ll
llvm/test/CodeGen/DirectX/lit.local.cfg
llvm/test/CodeGen/DirectX/strip-fn-attrs.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122081.416725.patch
Type: text/x-patch
Size: 8574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220319/bb2c5e77/attachment.bin>
More information about the llvm-commits
mailing list