[LLVMdev] [cfe-dev] TargetParser - Always build all table-gen files?

Rowan, Jim jmr at codeaurora.org
Mon Mar 9 13:50:16 PDT 2015

On Mar 9, 2015, at 1:42 PM, Renato Golin <renato.golin at linaro.org> wrote:

> On 9 March 2015 at 18:21, Reid Kleckner <rnk at google.com> wrote:
>> I'm not very familiar with how the current system works, but it would be a
>> shame to run tablegen for all targets when the user just wants one backend.
> Why? The only effect of this is to process all targets' table-gen
> files at build time, mostly once for the targets you rarely use. They
> will not be included in any library, binary or archive if you don't
> use the specific back-end, and the TargetParser will only use the
> necessary tables to get target information.

I suppose you mean “once per ‘make clean’ invocation”.   Do you have any info on how long it takes to do this on a slow target, or on a windows machine?

Jim Rowan
jmr at codeaurora.org
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation

More information about the llvm-dev mailing list