public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/23335] out of ssa does coalesce some variables
Date: Thu, 11 Aug 2005 18:23:00 -0000	[thread overview]
Message-ID: <20050811182338.9718.qmail@sourceware.org> (raw)
In-Reply-To: <20050811175402.23335.dann@godzilla.ics.uci.edu>


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-11 18:23 -------
What is happening is that out of SSA is doing almost no coalescing at all, it only coalesces SSA_NAME 
which have the same decl.

To me, it looks like copyrename is missing an opportunity to rename a SSANAME:
  # D.15690_3 = PHI <0(3), mult_41(12), D.15690_13(14), 0(0), mult_55(11), mult_28(13)>;


well it turns out this might be harder to do than orginally I had thought as one of the arguments to the 
PHI is does not have a SSA_NAME whos decl is mult.

This problem is understood but hard to get right.

I will try to get a small example for this issue, note this is also an issue in 4.0.0 too.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
            Summary|out of ssa does not delete  |out of ssa does coalesce
                   |single def single use       |some variables
                   |variable                    |


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


  parent reply	other threads:[~2005-08-11 18:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-11 17:54 [Bug tree-optimization/23335] New: out of ssa does not delete single def single use variable dann at godzilla dot ics dot uci dot edu
2005-08-11 17:55 ` [Bug tree-optimization/23335] " dann at godzilla dot ics dot uci dot edu
2005-08-11 17:56 ` pinskia at gcc dot gnu dot org
2005-08-11 18:23 ` pinskia at gcc dot gnu dot org [this message]
2005-08-11 18:33 ` [Bug tree-optimization/23335] copyrename does not coalesce same type varibles (useless type conversion) pinskia at gcc dot gnu dot org
2005-08-11 18:47 ` [Bug tree-optimization/23335] [4.0/4.1 Regression] copyrename does not coalesce different type variables " pinskia at gcc dot gnu dot org
2005-08-11 18:48 ` pinskia at gcc dot gnu dot org
2005-08-12 14:48 ` amacleod at redhat dot com
2005-09-27 16:19 ` mmitchel at gcc dot 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=20050811182338.9718.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).