This issue tracks the addition of a TableGen solution for writing HLSL intrinsics to reduce the maintenance burden of handwriting large header files with repetitive HLSL intrinsic declarations, especially as more support is added for matrices for existing intrinsics.
The proposal describing the current design lives is in proposals/0043-hlsl-intrinsic-tablegen.md
The current implementation lives in PR llvm/llvm-project#187610