aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pass.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-01-12 15:25:07 +0100
committerRichard Biener <rguenther@suse.de>2022-01-12 16:18:20 +0100
commit2f62294dec1f3af59dd7505c058b0af38c2d1524 (patch)
treeaab37aab5c09a20b6c7444090899ef3f13c171c8 /gcc/tree-pass.h
parent2c16dfe6268eeeb4b7924ff423e274fa00894a4d (diff)
downloadgcc-2f62294dec1f3af59dd7505c058b0af38c2d1524.zip
gcc-2f62294dec1f3af59dd7505c058b0af38c2d1524.tar.gz
gcc-2f62294dec1f3af59dd7505c058b0af38c2d1524.tar.bz2
tree-optimization/103990 - fix CFG cleanup regression from PRE change
This adjusts the CFG cleanup flow back to what it was before the last change which fixes the observed regression of 541.leela_r with LTO and FDO. 2022-01-12 Richard Biener <rguenther@suse.de> PR tree-optimization/103990 * tree-pass.h (tail_merge_optimize): Drop unused argument. * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise. * tree-ssa-pre.c (pass_pre::execute): Retain TODO_cleanup_cfg and adjust call to tail_merge_optimize.
Diffstat (limited to 'gcc/tree-pass.h')
-rw-r--r--gcc/tree-pass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-pass.h b/gcc/tree-pass.h
index 36097cf..606d1d6 100644
--- a/gcc/tree-pass.h
+++ b/gcc/tree-pass.h
@@ -412,7 +412,7 @@ extern gimple_opt_pass *make_pass_early_thread_jumps (gcc::context *ctxt);
extern gimple_opt_pass *make_pass_split_crit_edges (gcc::context *ctxt);
extern gimple_opt_pass *make_pass_laddress (gcc::context *ctxt);
extern gimple_opt_pass *make_pass_pre (gcc::context *ctxt);
-extern unsigned int tail_merge_optimize (unsigned int, bool);
+extern unsigned int tail_merge_optimize (bool);
extern gimple_opt_pass *make_pass_profile (gcc::context *ctxt);
extern gimple_opt_pass *make_pass_strip_predict_hints (gcc::context *ctxt);
extern gimple_opt_pass *make_pass_lower_complex_O0 (gcc::context *ctxt);