[all-commits] [llvm/llvm-project] 0d2dde: [TableGen][DirectX] generate DXIL operation table ...

Xiang Li via All-commits all-commits at lists.llvm.org
Thu Jun 16 23:26:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d2dde20be14e42a26280fd80b78f09edf7befe6
      https://github.com/llvm/llvm-project/commit/0d2dde20be14e42a26280fd80b78f09edf7befe6
  Author: Xiang Li <python3kgae at outlook.com>
  Date:   2022-06-16 (Thu, 16 Jun 2022)

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

  Log Message:
  -----------
  [TableGen][DirectX] generate DXIL operation table with TableGen.

Add more feature to tableGen backend gen-dxil-operation.

It will generate getOpCodeProperty, getOpCodeClassName and getOpCodeName when build DirectX target.
Each of these functions has a table which generate based on DXIL operations.

These generated functions will replace the manually written functions which used for query DXIL operation information.

Reviewed By: bogner

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




More information about the All-commits mailing list