[PATCH] IPA ICF: add comparison for target and optimization nodes
Martin Liška
mliska@suse.cz
Fri Jan 9 10:35:00 GMT 2015
On 01/09/2015 06:21 AM, Jeff Law wrote:
> On 01/07/15 04:38, Martin Liška wrote:
>> Hello.
>>
>> Following patch adds support for target and optimization nodes
>> comparison, which is
>> based on Honza's newly added infrastructure.
>>
>> Apart from that, there's a small hunk that corrects formatting and
>> removes unnecessary
>> call to a comparison function.
>>
>> Hope it can be applied as one patch.
>>
>> Tested on x86_64-linux-pc without any new regression introduction.
>>
>> Ready for trunk?
>>
>> Thank you,
>> Martin
>>
>> 0001-IPA-ICF-target-and-optimization-flags-comparison.patch
>>
>>
>> From 393eaa47c8aef9a91a1c635016f23ca2f5aa25e4 Mon Sep 17 00:00:00 2001
>> From: mliska<mliska@suse.cz>
>> Date: Tue, 6 Jan 2015 15:06:18 +0100
>> Subject: [PATCH] IPA ICF: target and optimization flags comparison.
>>
>> gcc/ChangeLog:
>>
>> 2015-01-06 Martin Liska<mliska@suse.cz>
>>
>> * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
>> * ipa-icf.c (sem_function::equals_private): Add support for target and
>> (sem_item_optimizer::merge_classes): Remove redundant function
>> comparison.
>> optimization flags comparison.
>> * tree.h (target_opts_for_fn): New function.
> Looks like the changelog is a bit goof'd with lines intermixed.
>
> Patch itself is good for the trunk. It'd be nice if you could add a testcase as well.
>
> Jeff
Hi.
You are right, I forgot to delete a line in Changelog.
Attachment contains final version with a new test case I'm going to install.
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-IPA-ICF-target-and-optimization-flags-comparison.patch
Type: text/x-patch
Size: 6702 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150109/ae034ddf/attachment.bin>
More information about the Gcc-patches
mailing list