Issue |
81752
|
Summary |
[DirectX][DXIL] Enhance DXIL.td to be serve as the single source of reference for DXIL Operations
|
Labels |
new issue
|
Assignees |
|
Reporter |
bharadwajy
|
DXIL.td should be single source of reference for all DXIL operations. It should be subsume all relevant and applicable functionalities of [`hctdb.py`](https://github.com/microsoft/DirectXShaderCompiler/blob/main/utils/hct/hctdb.py) and other `hct` utilities.
Currently the `DXILEmitter` backend generates code used for lowering LLVM IR intrinsics to DXIL Ops. Another utility of the `DXIL.td` could be in the [upgrade pass](https://github.com/llvm/llvm-project/blob/main/llvm/docs/DirectX/DXILArchitecture.rst#the-dxilupgrade-pass) with an appropriate backend (or even reusing `DXILEmitter` backend.
Some of the top-level sub-tasks are
1. Refine existing abstractions in DXIL to model DXIL operation characteristics such as instruction categories, types supported, parameter formats etc.
2. Currently only a small number (6) of DXIL operations are specified. The remaining ones, along with tests to verify DXIL lowering, need to added.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs