[llvm-dev] Organization of LLVM utilities

Chris Lattner via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 4 11:44:38 PDT 2020



> On Aug 4, 2020, at 11:31 AM, Paul C. Anagnostopoulos via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> I was confused by the lack of TableGen backends in the llvm/lib/tablegen directory until I stumbled upon the llvm/utils/tablegen directory. Could someone explain why TableGen is divided into these two directories?

The mechanical reason is that llvm/utils builds before llvm/libs.  The basic TableGen support is required to generate .inc files in the libs directory.

-Chris


More information about the llvm-dev mailing list