llvm-project
4ed856dc - [NewPM] Increase inline size of IsResultInvalidated map (NFC) (#229367)

Commit
40 days ago
[NewPM] Increase inline size of IsResultInvalidated map (NFC) (#229367) The current size of 8 for IsResultInvalidate means that in a lot of cases the map needs to grow to a heap allocation (for CTMark it looks like we need to grow in ~76% of cases). Increase to 32 which should eliminate almost all cases where we need to grow dynamically. Improves compile-time: stage1-O3: -0.09% stage1-ReleaseThinLTO: -0.10% stage1-ReleaseLTO-g: -0.07% stage1-aarch64-O3: -0.10% stage2-O3: -0.10% stage2-clang: -0.14% https://llvm-compile-time-tracker.com/compare.php?from=b70245b23080db51cbf391bf10a42fd446fc35dc&to=a24b2144f35725b515333106d91dcc50cf175f93&stat=instructions:u Aided by Opus 5.5 PR: https://github.com/llvm/llvm-project/pull/229367
Author
Parents
Loading