aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgloop.h
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/cfgloop.h
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/cfgloop.h')
-rw-r--r--gcc/cfgloop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cfgloop.h b/gcc/cfgloop.h
index 2e93af3..e82cd7a 100644
--- a/gcc/cfgloop.h
+++ b/gcc/cfgloop.h
@@ -227,6 +227,10 @@ struct GTY ((chain_next ("%h.next"))) loop {
Other values means unroll with the given unrolling factor. */
unsigned short unroll;
+ /* If this loop was inlined the main clique of the callee which does
+ not need remapping when copying the loop body. */
+ unsigned short owned_clique;
+
/* For SIMD loops, this is a unique identifier of the loop, referenced
by IFN_GOMP_SIMD_VF, IFN_GOMP_SIMD_LANE and IFN_GOMP_SIMD_LAST_LANE
builtins. */