Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1462)

Issue 4478043: [pph] Add streamer hook for preloading common nodes (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by Diego Novillo
Modified:
13 years ago
Reviewers:
richard.guenther
CC:
Lawrence Crowl, gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -8 lines) Patch
M gcc/Makefile.in View 1 chunk +1 line, -1 line 0 comments Download
M gcc/cgraphunit.c View 2 chunks +5 lines, -0 lines 0 comments Download
M gcc/cp/pph-streamer.c View 2 chunks +33 lines, -0 lines 0 comments Download
M gcc/lto-streamer.h View 1 chunk +10 lines, -0 lines 0 comments Download
M gcc/lto-streamer.c View 4 chunks +2 lines, -6 lines 0 comments Download
M gcc/lto-streamer-out.c View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 5
Diego Novillo
This patch adds a new streamer hook to populate the streamer cache with common nodes. ...
13 years ago (2011-05-04 20:27:02 UTC) #1
richard.guenther_gmail.com
On Wed, May 4, 2011 at 10:26 PM, Diego Novillo <dnovillo@google.com> wrote: > > This ...
13 years ago (2011-05-05 09:06:53 UTC) #2
Diego Novillo
On Thu, May 5, 2011 at 05:06, Richard Guenther <richard.guenther@gmail.com> wrote: > I think we ...
13 years ago (2011-05-05 11:03:15 UTC) #3
richard.guenther_gmail.com
On Thu, May 5, 2011 at 1:03 PM, Diego Novillo <dnovillo@google.com> wrote: > On Thu, ...
13 years ago (2011-05-05 11:07:49 UTC) #4
Diego Novillo
13 years ago (2011-05-05 11:25:22 UTC) #5
On Thu, May 5, 2011 at 07:07, Richard Guenther
<richard.guenther@gmail.com> wrote:

> For LTO we have type-merging for that, and we'd continue to pre-load
> the type merger with the (LTO frontend specific) common tree nodes.

OK.  For LTO it may make sense to eventually make this hook a nop, then.

> I suppose you are not doing any merging at all?  If so pre-loading those
> nodes makes indeed sense (given you have a way to reject PPH images
> when flags such as -f[un]signed-char differ ...).

There will be some amount of merging, but I'm anticipating using the
same merging scheme used by the parser.  As far as the parser is
concerned, pph images are not much different than a regular header
file.  What changes is the way those declarations get loaded in
memory.


Diego.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b