[llvm-dev] Tablegen ridiculously slow when compiling for Debug

Joan Lluch via llvm-dev
Sat, 29 Jun 2019 17:26:56 -0000

Hi all,

On LLVM version 7.0.1, incremental builds are very fast for both Release and
Debug. I’m compiling with Xcode

I recently downloaded LLVM 9.0 from the LLVM-mirror Github repository and found
that Incremental "Debug” builds take a ridiculously long time due to
Tablegen taking ages (literally more than 10 minutes) to generate files. This
makes it totally unusable for debug purposes. However, incremental ‘Release’
builds only take a few seconds.

Why is that?. Any suggestions?.

Thanks.

John Lluch