[clang] [HLSL] Implement TableGen for builtin HLSL intrinsics (PR #187610)

Deric C. via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 24 09:47:01 PDT 2026


================
@@ -38,6 +38,9 @@ namespace hlsl {
 #define _HLSL_16BIT_AVAILABILITY_SHADERMODEL_DEFAULT()
 #endif
 
+// Generated by clang-tblgen from HLSLIntrinsics.td (alias intrinsics).
+#include "hlsl_alias_intrinsics_gen.inc"
+
----------------
Icohedron wrote:

I was thinking that if multiple people wanted to try to rewrite some HLSL intrinsics to tablegen after this PR, then they wouldn't all need to write the same #includes in their PRs. So this PR may as well introduce this NFC right now

https://github.com/llvm/llvm-project/pull/187610


More information about the cfe-commits mailing list