patch: add a driver flag to turn on function merging optimization

Nick Lewycky nlewycky at google.com
Thu Oct 23 14:47:18 PDT 2014


Sorry, I failed to "svn add" the new test and include it in the patch.
Here's an updated patch with the test in it.

On 23 October 2014 14:39, Nick Lewycky <nlewycky at google.com> wrote:

> 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/8e2eded3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fmerge-functions-2.patch
Type: text/x-patch
Size: 3965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141023/8e2eded3/attachment.bin>


More information about the cfe-commits mailing list