From: Richard Biener Date: Fri, 3 May 2019 11:21:18 +0000 (+0000) Subject: re PR tree-optimization/90316 (large compile time increase in opt / alias stmt walkin... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3353ebf0d9a20f07597b90943664f10557488ea8;p=gcc.git re PR tree-optimization/90316 (large compile time increase in opt / alias stmt walking for Go example) 2019-05-03 Richard Biener PR tree-optimization/90316 * tree-ssa-pre.c (pass_pre::execute): Re-compute DOM fast queries before running VN. From-SVN: r270848 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b34efa5c03..d656ad76ab9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-05-03 Richard Biener + + PR tree-optimization/90316 + * tree-ssa-pre.c (pass_pre::execute): Re-compute DOM fast queries + before running VN. + 2019-05-03 Richard Biener * tree-vect-stmts.c (get_group_load_store_type): Avoid diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 7bb2cf1e220..e1c75f8e906 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -4197,6 +4197,7 @@ pass_pre::execute (function *fun) loop_optimizer_init (LOOPS_NORMAL); split_critical_edges (); scev_initialize (); + calculate_dominance_info (CDI_DOMINATORS); run_rpo_vn (VN_WALK);