llvm-min-tblgen is capable of building llvm/include/llvm;
- -gen-attrs
- -gen-directive-*
- -gen-intrinsics-*
- -gen-riscv-target-def
- -gen-vt
llvm-min-tblgen is built and used only when llvm-tblgen is built in-tree.
This is not installed.
llvm-tblgen is built with complete set and may be installed.
check-llvm uses not llvm-min-tblgen but llvm-tblgen.
LLVM_TABLEGEN_PROJECT overrides the definition of tablegen(project).
LLVM_HEADERS is used as the overridden prefix for LLVM header generators.
If EXPORT is not specified in add_tablegen, its tablegen is treated as internal.
Let llvm-tblgen depend on intrinsics_gen
Depends on D149072
I guess these two lines could be consider a standalone NFC refactoring/cleanup on top of the current code as well?