In particular, this CL speeds up the official Chrome linking with LTO by
1.8x.
See more details in https://crbug.com/542426
Paths
| Differential D13918
Move imported entities into DwarfCompilationUnit to speed up LTO linking. ClosedPublic Authored by krasin on Oct 20 2015, 2:59 PM.
Details Summary In particular, this CL speeds up the official Chrome linking with LTO by See more details in https://crbug.com/542426
Diff Detail Event Timelinekrasin retitled this revision from Lazily sort ScopesWithImportedEntities to speed up LTO linking. to Move imported entities into DwarfCompilationUnit to speed up LTO linking..Oct 22 2015, 11:50 AM krasin updated this object. dblaikie edited edge metadata. Comment ActionsLooks great - thanks for your patience/perseverance on this. I think the net result is a better design & better performance. Please commit whenever you're ready (couple of optional brace issues, but nothing else to worry about).
This revision is now accepted and ready to land.Oct 22 2015, 11:59 AM Comment Actions I am running last checks and will submit after that.
Revision Contents
Diff 38457 lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
|
You could drop the braces on the single-statement loop (as with the original code) - some people prefer to have them for multiline blocks, even if it's a single statement.