patch: add a driver flag to turn on function merging optimization
Nick Lewycky
nlewycky at google.com
Thu Oct 23 14:39:59 PDT 2014
The attached patch adds -fmerge-functions which is in turn attached to
PassManagerBuilder::MergeFunctions. This is provided for testing it out,
and we can decide what we want the default to be after we have experience.
Note that it does bad things to debug info which doesn't currently have a
way to represent which function got called if two functions were merged.
Please review!
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141023/0d24e8f6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fmerge-functions-1.patch
Type: text/x-patch
Size: 3244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141023/0d24e8f6/attachment.bin>
More information about the cfe-commits
mailing list