public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bonzini at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above
Date: Fri, 24 Mar 2006 16:07:00 -0000	[thread overview]
Message-ID: <20060324160716.17519.qmail@sourceware.org> (raw)
In-Reply-To: <bug-26830-10053@http.gcc.gnu.org/bugzilla/>



------- Comment #15 from bonzini at gnu dot org  2006-03-24 16:07 -------
tree_duplicate_sese_region calls update_ssa.  that makes the loop grow very
fast with the number of basic blocks.

4.0, instead, has

 5081   /* Add phi nodes for definitions at exit.  TODO -- once we have
immediate
 5082      uses, it should be possible to emit phi nodes just for definitions
that
 5083      are used outside region.  */
 5084   EXECUTE_IF_SET_IN_BITMAP (definitions, 0, ver, bi)
 5085     {
 5086       tree name = ssa_name (ver);
 5087 
 5088       phi = create_phi_node (name, exit->dest);
 5089       add_phi_arg (phi, name, exit);
 5090       add_phi_arg (phi, name, exit_copy);
 5091 
 5092       SSA_NAME_DEF_STMT (name) = phi;
 5093     }
 5094 
 5095   /* And create new definitions inside region and its copy.  TODO -- once
we
 5096      have immediate uses, it might be better to leave definitions in
region
 5097      unchanged, create new ssa names for phi nodes on exit, and rewrite
 5098      the uses, to avoid changing the copied region.  */
 5099   allocate_ssa_names (definitions, &ssa_name_map);
 5100   rewrite_to_new_ssa_names (region, n_region, ssa_name_map);
 5101   allocate_ssa_names (definitions, &ssa_name_map);
 5102   rewrite_to_new_ssa_names (region_copy, n_region, ssa_name_map);


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26830


  parent reply	other threads:[~2006-03-24 16:07 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-23 16:45 [Bug tree-optimization/26830] New: Insane amount of compile-time / memory needed at -O1 and up rguenth at gcc dot gnu dot org
2006-03-23 16:48 ` [Bug tree-optimization/26830] " rguenth at gcc dot gnu dot org
2006-03-23 16:56 ` [Bug tree-optimization/26830] [4.1/4.2 Regression] " rguenth at gcc dot gnu dot org
2006-03-23 17:29 ` rguenth at gcc dot gnu dot org
2006-03-23 17:36 ` rguenth at gcc dot gnu dot org
2006-03-23 21:03 ` rguenth at gcc dot gnu dot org
2006-03-23 21:15 ` [Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed by into-ssa rguenth at gcc dot gnu dot org
2006-03-23 21:37 ` [Bug tree-optimization/26830] [4.1/4.2 Regression] Insane amount of compile-time / memory needed at -O1 and above rguenth at gcc dot gnu dot org
2006-03-23 22:09 ` rguenth at gcc dot gnu dot org
2006-03-24  8:43 ` rguenth at gcc dot gnu dot org
2006-03-24 14:15 ` bonzini at gnu dot org
2006-03-24 14:16 ` bonzini at gnu dot org
2006-03-24 14:16 ` bonzini at gnu dot org
2006-03-24 15:42 ` bonzini at gnu dot org
2006-03-24 15:50 ` rguenth at gcc dot gnu dot org
2006-03-24 16:07 ` bonzini at gnu dot org [this message]
2006-03-24 16:27 ` rguenth at gcc dot gnu dot org
2006-03-24 16:33 ` rguenth at gcc dot gnu dot org
2006-03-27  7:22 ` bonzini at gnu dot org
2006-03-27  7:37 ` bonzini at gnu dot org
2006-03-30  9:17 ` bonzini at gnu dot org
2006-03-30 14:04 ` bonzini at gnu dot org
2006-03-30 14:31 ` bonzini at gcc dot gnu dot org
2006-03-30 15:50 ` rguenth at gcc dot gnu dot org
2006-03-31  7:37 ` paolo dot bonzini at lu dot unisi dot ch
2006-04-03 13:37 ` bonzini at gcc dot gnu dot org
2006-04-03 13:40 ` [Bug tree-optimization/26830] [4.2 Regression] Repeated SSA update during loop header copying bonzini at gnu dot org
2006-04-03 14:16 ` rakdver at gcc dot gnu dot org
2006-04-03 16:20 ` rguenth at gcc dot gnu dot org
2006-04-03 16:31 ` rakdver at gcc dot gnu dot org
2006-04-04  9:21 ` bonzini at gnu dot org
2006-04-04 10:20 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2006-04-04 14:29 ` bonzini at gnu dot org
2006-04-12 12:20 ` rakdver at gcc dot gnu dot org
2006-04-12 14:09 ` dnovillo at redhat dot com
2006-04-12 14:20 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2006-04-12 14:24 ` dnovillo at redhat dot com
2006-04-14  0:06 ` rakdver at gcc dot gnu dot org
2006-05-15 18:25 ` rakdver at gcc dot gnu dot org
2006-05-15 21:56 ` rakdver at gcc dot gnu dot org
2006-05-30  6:20 ` bonzini at gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060324160716.17519.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).