mirror of
https://github.com/clang-retro/llvm.git
synced 2026-11-28 13:19:18 -08:00
Other subprojects invoke their TableGen through a project-specific wrapper (clang_tablegen, mlir_tablegen, lldb_tablegen). Add llvm_tablegen for llvm-tblgen and replace every tablegen(LLVM ...) call with it. The llvm-tblgen-specific logic in tablegen() moves into llvm_tablegen: the DAGISel/GlobalISel coverage and -omit-comments flags, and the extra outputs of -gen-register-info, which tablegen() now accepts generically through a new EXTRA_OUTPUTS argument. My motivation is general cleanliness but also as a use-case to add the `EXTRA_OUTPUTS` cmake option to the `tablegen` command