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 current prototype implementation lives in https://github.com/Icohedron/llvm-project/tree/tablegen-hlsl-intrinsics
The current proposal describing the implementation lives in the following PR: #394