[all-commits] [llvm/llvm-project] 264c09: [TableGen][DirectX] Add tableGen backend to genera...

Xiang Li via All-commits all-commits at lists.llvm.org
Wed Jun 15 19:41:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 264c09b732ab61936a499f133abdfc67df422a86
      https://github.com/llvm/llvm-project/commit/264c09b732ab61936a499f133abdfc67df422a86
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-06-15 (Wed, 15 Jun 2022)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILOpLowering.cpp
    M llvm/utils/TableGen/DXILEmitter.cpp

  Log Message:
  -----------
  [TableGen][DirectX] Add tableGen backend to generate map from llvm intrinsic to DXIL operation.

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.

Reviewed By: bogner

Differential Revision: https://reviews.llvm.org/D125519




More information about the All-commits mailing list