[PATCH] D17555: [Feedback requested] Implement cold spliting
Amaury SECHET via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 16:37:21 PST 2016
deadalnix created this revision.
deadalnix added reviewers: MatzeB, majnemer, joker.eph, danielcdh, davidxl.
deadalnix added a subscriber: llvm-commits.
This is an attempt at splitting cold code from regular code in a function. All landing pads are considered cold (in fact, they almost always are, especially if performance is a concern, and assuming this allow for simplification in the LSDA).
2 LSDA header and call sites are emited, the cold one nested within the regular one. They both share the same action table and type table.
A symbol is amited for the cold function, using the name of the function suffixed by $cold . Emiting a symbol is required when using .subsections_via_symbols .
Debug informations aren't supported at this stage.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 37672 bytes
Desc: not available
More information about the llvm-commits