From 3353ebf0d9a20f07597b90943664f10557488ea8 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 3 May 2019 11:21:18 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/tree-ssa-pre.c | 1 + 2 files changed, 7 insertions(+) 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); -- 2.30.2