[PATCH] D69824: Extends the tblgen macro to allow mlir-tblgen to be installed

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 09:29:38 PST 2019


beanz added a comment.

When cross compiling any LLVM-based project we do not rely on installed copies of table gen, instead we configure and build host tablegen tools. That functionality in the LLVM build system is flexible enough to support any sub-project that provides its own tablegen tool.

In general we don't install tablegen tools because they are tightly tied to the library-based extensibility. For LLVM we do because we support building LLVM targets against installed copies of LLVM. I'm not familiar enough with MLIR, what is the use case for an installed mlir-tblgen tool?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69824/new/

https://reviews.llvm.org/D69824





More information about the llvm-commits mailing list