[cfe-dev] [llvm-dev] Splitting up Type.h: Good idea, bad idea?

Reid Kleckner via cfe-dev cfe-dev at lists.llvm.org
Wed Apr 8 09:58:54 PDT 2020


On Wed, Apr 8, 2020 at 5:15 AM Lubos Lunak <l.lunak at centrum.cz> wrote:

>  If you intend to improve compile time, wouldn't it be better to focus on
> already existing ways to do that? Specifically with
> -DLLVM_ENABLE_MODULES=On
> I'd expect Type.h to not matter for compile times at all.
>

It's true that modules are generally defined at a larger granularity, and
pruning includes this way will not affect modular build time. However, I am
generally skeptical that using modules is a scalable way to speed up local
builds.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200408/6d55470f/attachment.html>


More information about the cfe-dev mailing list