]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/54146 (Very slow compile with attribute((flatten)))
authorSteven Bosscher <steven@gcc.gnu.org>
Thu, 16 Aug 2012 10:52:14 +0000 (10:52 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Thu, 16 Aug 2012 10:52:14 +0000 (10:52 +0000)
commit01273677143592a20a0c161e3e5e52a478d8fc6d
treee65720504a6ef8d7e205979cb6ddd502a52181c5
parentca9b1cd87255144e5b7a063e5571f0e698dd9702
re PR middle-end/54146 (Very slow compile with attribute((flatten)))

PR middle-end/54146
* tree-flow.h (compute_global_livein): Remove prototype.
* tree-into-ssa.c (compute_global_livein): Remove function.
* tree-ssa-loop-manip.c: Include gimple-pretty-print.h.
(find_sibling_superloop): New function.
(compute_live_loop_exits): New function.
(add_exit_phis_edge): Rename to add_exit_phi.  Do not allow
inserting a PHI in a block that is not a loop exit for VAR.
Add dumping if TDF_DETAILS.
(add_exit_phis_var): Rewrite.
(add_exit_phis): Update.
(get_loops_exits): Rewrite to return an array of per-loop exits
rather than one bitmap with all loop exits.
(find_uses_to_rename_bb): Ignore virtual PHI nodes.
(rewrite_into_loop_closed_ssa): Update.

From-SVN: r190442
gcc/ChangeLog
gcc/tree-flow.h
gcc/tree-into-ssa.c
gcc/tree-ssa-loop-manip.c