[all-commits] [llvm/llvm-project] daec3b: [HLSL] Implement TableGen for builtin HLSL intrins...

Deric C. via All-commits all-commits at lists.llvm.org
Tue Mar 24 13:30:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: daec3b9fb6e2192febfbd29046e02e476a5b159f
      https://github.com/llvm/llvm-project/commit/daec3b9fb6e2192febfbd29046e02e476a5b159f
  Author: Deric C. <cheung.deric at gmail.com>
  Date:   2026-03-24 (Tue, 24 Mar 2026)

  Changed paths:
    A clang/include/clang/Basic/HLSLIntrinsics.td
    M clang/lib/Headers/CMakeLists.txt
    M clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    A clang/test/TableGen/hlsl-intrinsics.td
    M clang/utils/TableGen/CMakeLists.txt
    A clang/utils/TableGen/HLSLEmitter.cpp
    M clang/utils/TableGen/TableGen.cpp
    M clang/utils/TableGen/TableGenBackends.h

  Log Message:
  -----------
  [HLSL] Implement TableGen for builtin HLSL intrinsics (#187610)

This PR introduces a TableGen-based code generation system for HLSL
intrinsic overloads as described in proposal
[[0043]](https://github.com/llvm/wg-hlsl/blob/main/proposals/0043-hlsl-intrinsic-tablegen.md)
for replacing hand-written boilerplate with declarative .td definitions.

Actual changes to `hlsl_intrinsics.h` and `hlsl_alias_intrinsics.h` to
replace handwritten HLSL intrinsic overloads with TableGen is left to
follow-up PRs.

Assisted-by: GitHub Copilot (powered by Claude Opus 4.6)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list