aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer-out.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2019-03-08 10:20:12 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2019-03-08 10:20:12 +0000
commit94ec37a909697bbf29db73278c77621ccdf60693 (patch)
treeb688ace11870b78027045997e18c5e38315eddb7 /gcc/lto-streamer-out.c
parent5d1504d42af6b12efeb83a2056424ceb1512961f (diff)
downloadgcc-94ec37a909697bbf29db73278c77621ccdf60693.zip
gcc-94ec37a909697bbf29db73278c77621ccdf60693.tar.gz
gcc-94ec37a909697bbf29db73278c77621ccdf60693.tar.bz2
re PR target/89578 (5% runtime regression for 481.wrf at -Ofast -flto)
2019-03-08 Richard Biener <rguenther@suse.de> PR middle-end/89578 * cfgloop.h (struct loop): Add owned_clique field. * cfgloopmanip.c (copy_loop_info): Copy it. * tree-cfg.c (gimple_duplicate_bb): Do not remap owned_clique cliques. * tree-inline.c (copy_loops): Remap owned_clique. * lto-streamer-in.c (input_cfg): Stream owned_clique. * lto-streamer-out.c (output_cfg): Likewise. From-SVN: r269484
Diffstat (limited to 'gcc/lto-streamer-out.c')
-rw-r--r--gcc/lto-streamer-out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c
index a72016a..b6e395b 100644
--- a/gcc/lto-streamer-out.c
+++ b/gcc/lto-streamer-out.c
@@ -1938,6 +1938,7 @@ output_cfg (struct output_block *ob, struct function *fn)
/* Write OMP SIMD related info. */
streamer_write_hwi (ob, loop->safelen);
streamer_write_hwi (ob, loop->unroll);
+ streamer_write_hwi (ob, loop->owned_clique);
streamer_write_hwi (ob, loop->dont_vectorize);
streamer_write_hwi (ob, loop->force_vectorize);
stream_write_tree (ob, loop->simduid, true);