[clang] Thread safety analysis: Allocate FactEntrys with BumpPtrAllocator (PR #149660)

Marco Elver via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 28 01:04:25 PDT 2025


melver wrote:

> > Overall compilation before the change takes 327,801,317 instructions, and 327,433,878 after the change
> 
> Accidentally left assertions on. Without it's 277,111,134 versus 276,855,186, but this is also 0.1%, and Thread Safety Analysis is still roughly 1% of the overall compilation time.

Saving 0.1% in a large build cluster is still a nice saving, so in general, I'm in favour.

https://github.com/llvm/llvm-project/pull/149660


More information about the cfe-commits mailing list