[PATCH] D125519: [TableGen][DirectX] Add tableGen backend to generate map from llvm intrinsic to DXIL operation.

Xiang Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 12 22:18:22 PDT 2022


python3kgae created this revision.
python3kgae added reviewers: dsanders, Bigcheese, labath, beanz, pow2clk, jdoerfert, jdenny, thakis, nhaehnle.
Herald added subscribers: hiraditya, mgorny.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

A new tableGen backend gen-dxil-intrinsic-map is added to generate map from llvm intrinsic to DXIL operation.

A new file "DXILIntrinsicMap.inc" will be generated when build DirectX target which include the map.

The generated map will replace the manually created map when find DXIL operation from llvm intrinsic.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125519

Files:
  llvm/lib/Target/DirectX/CMakeLists.txt
  llvm/lib/Target/DirectX/DXILOpLowering.cpp
  llvm/utils/TableGen/DXILEmitter.cpp
  llvm/utils/TableGen/TableGen.cpp
  llvm/utils/TableGen/TableGenBackends.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125519.429139.patch
Type: text/x-patch
Size: 4820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220513/afdd5215/attachment.bin>


More information about the llvm-commits mailing list