[PATCH 1/4] cgraph_summary data structure introduction.

2014-11-13 Thread mliska
Following patchset introduces cgraph_summary template class that
should replace custom implementation of cgraph related summaries.

Idea behind the patch is to provide a generic interface one can use
to register custom summary related to a cgraph_node. As you know,
symbol_table provides hooks for creation, deletion and duplication
of a cgraph_node. If you have a pass, you need to handle all these
hooks and store custom data in your data structure.

Patchset can boostrap on x86_64-linux-pc and no regression was
observed.

Ready for trunk?
Thank you,
Martin
---
 gcc/ChangeLog | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2eb6f35..ad3c2bf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,4 @@
+
 2014-11-12  Alan Lawrence  alan.lawre...@arm.com
 
* config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Display indices.
-- 
2.1.2




Re: [PATCH 1/4] cgraph_summary data structure introduction.

2014-11-13 Thread Richard Biener
On Thu, Nov 13, 2014 at 3:10 PM, mliska mli...@suse.cz wrote:
 Following patchset introduces cgraph_summary template class that
 should replace custom implementation of cgraph related summaries.

 Idea behind the patch is to provide a generic interface one can use
 to register custom summary related to a cgraph_node. As you know,
 symbol_table provides hooks for creation, deletion and duplication
 of a cgraph_node. If you have a pass, you need to handle all these
 hooks and store custom data in your data structure.

 Patchset can boostrap on x86_64-linux-pc and no regression was
 observed.

 Ready for trunk?
 Thank you,
 Martin
 ---
  gcc/ChangeLog | 1 +
  1 file changed, 1 insertion(+)

 diff --git a/gcc/ChangeLog b/gcc/ChangeLog
 index 2eb6f35..ad3c2bf 100644
 --- a/gcc/ChangeLog
 +++ b/gcc/ChangeLog
 @@ -1,3 +1,4 @@
 +
  2014-11-12  Alan Lawrence  alan.lawre...@arm.com

 * config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Display 
 indices.

huh?

 --
 2.1.2




Re: [PATCH 1/4] cgraph_summary data structure introduction.

2014-11-13 Thread Martin Liška

On 11/13/2014 03:33 PM, Richard Biener wrote:

On Thu, Nov 13, 2014 at 3:10 PM, mliska mli...@suse.cz wrote:

Following patchset introduces cgraph_summary template class that
should replace custom implementation of cgraph related summaries.

Idea behind the patch is to provide a generic interface one can use
to register custom summary related to a cgraph_node. As you know,
symbol_table provides hooks for creation, deletion and duplication
of a cgraph_node. If you have a pass, you need to handle all these
hooks and store custom data in your data structure.

Patchset can boostrap on x86_64-linux-pc and no regression was
observed.

Ready for trunk?
Thank you,
Martin
---
  gcc/ChangeLog | 1 +
  1 file changed, 1 insertion(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2eb6f35..ad3c2bf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,4 @@
+
  2014-11-12  Alan Lawrence  alan.lawre...@arm.com

 * config/aarch64/aarch64.c (aarch64_simd_lane_bounds): Display indices.


huh?


Please ignore this modification, I forgot to remove it from the email patchset.
I've just introduced the change to be able to introduce git commit.

Thank you for understanding,
Martin




--
2.1.2