Re: Simplify tree streaming

2020-05-29 Thread Richard Biener via Gcc-patches
On Tue, May 26, 2020 at 10:44 AM Jan Hubicka wrote: > > Hi, > this patch cleans up tree streaming. The code is prepared to stream nested > trees, but we only handle flat trees. As a result we have quite heavy function > to stream in/out tree reference which is used many times and shows up in > pr

Simplify tree streaming

2020-05-26 Thread Jan Hubicka
Hi, this patch cleans up tree streaming. The code is prepared to stream nested trees, but we only handle flat trees. As a result we have quite heavy function to stream in/out tree reference which is used many times and shows up in profile. This patch adds stream_write_tree_ref/stream_read_tree_re