public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/24001] Simple redundancy not eliminated
[not found] <bug-24001-4@http.gcc.gnu.org/bugzilla/>
@ 2012-02-07 21:11 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-07 21:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-07 21:10:52 UTC ---
Tail merge (on the tree level) is able to optimize this one on the trunk
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/24001] Simple redundancy not eliminated
[not found] <bug-24001-2744@http.gcc.gnu.org/bugzilla/>
2005-12-30 22:31 ` pinskia at gcc dot gnu dot org
2006-01-03 18:39 ` dberlin at gcc dot gnu dot org
@ 2007-10-16 13:32 ` steven at gcc dot gnu dot org
2 siblings, 0 replies; 9+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-10-16 13:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from steven at gcc dot gnu dot org 2007-10-16 13:32 -------
I would expect that tail merging (cross-jumping in gcc jargon) would merge the
two paths.
Better yet would be to optimize this earlier, and for that we need code
hoisting (re. comment #1, I think it is eliminated because we run code hoisting
at -Os).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/24001] Simple redundancy not eliminated
[not found] <bug-24001-2744@http.gcc.gnu.org/bugzilla/>
2005-12-30 22:31 ` pinskia at gcc dot gnu dot org
@ 2006-01-03 18:39 ` dberlin at gcc dot gnu dot org
2007-10-16 13:32 ` steven at gcc dot gnu dot org
2 siblings, 0 replies; 9+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2006-01-03 18:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from dberlin at gcc dot gnu dot org 2006-01-03 18:39 -------
You are confused about what load PRE does. It will not lift these load because
it is not partially redundant.
You are looking for some sort of generic code hoister.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/24001] Simple redundancy not eliminated
[not found] <bug-24001-2744@http.gcc.gnu.org/bugzilla/>
@ 2005-12-30 22:31 ` pinskia at gcc dot gnu dot org
2006-01-03 18:39 ` dberlin at gcc dot gnu dot org
2007-10-16 13:32 ` steven at gcc dot gnu dot org
2 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-30 22:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2005-12-30 22:31 -------
(In reply to comment #2)
> load-pre should sink the load and fix the problem at the tree level.
Lift the load above as it is fully redundant.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2005-09-25 04:31:17 |2005-12-30 22:31:57
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/24001] Simple redundancy not eliminated
2005-09-21 16:06 [Bug tree-optimization/24001] New: " falk at debian dot org
` (2 preceding siblings ...)
2005-09-22 18:40 ` dberlin at dberlin dot org
@ 2005-09-25 4:31 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-25 4:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-25 04:31 -------
Confirmed, on most targets (ppc and x86 at least) this is done at the rtl level, I don't know why it is not
done for alpha.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|alpha-linux-gnu |
GCC host triplet|alpha-linux-gnu |
Keywords| |TREE
Last reconfirmed|0000-00-00 00:00:00 |2005-09-25 04:31:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/24001] Simple redundancy not eliminated
2005-09-21 16:06 [Bug tree-optimization/24001] New: " falk at debian dot org
2005-09-21 16:32 ` [Bug tree-optimization/24001] " pinskia at gcc dot gnu dot org
2005-09-22 8:31 ` rguenth at gcc dot gnu dot org
@ 2005-09-22 18:40 ` dberlin at dberlin dot org
2005-09-25 4:31 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 9+ messages in thread
From: dberlin at dberlin dot org @ 2005-09-22 18:40 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-09-22 18:40 -------
Subject: Re: Simple redundancy not eliminated
On Thu, 2005-09-22 at 08:31 +0000, rguenth at gcc dot gnu dot org wrote:
> ------- Additional Comments From rguenth at gcc dot gnu dot org 2005-09-22 08:31 -------
> load-pre should sink the load and fix the problem at the tree level.
Uh, load PRE doesn't sink loads, it would lift it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [Bug tree-optimization/24001] Simple redundancy not eliminated
2005-09-22 8:31 ` rguenth at gcc dot gnu dot org
@ 2005-09-22 18:40 ` Daniel Berlin
0 siblings, 0 replies; 9+ messages in thread
From: Daniel Berlin @ 2005-09-22 18:40 UTC (permalink / raw)
To: gcc-bugzilla; +Cc: gcc-bugs
On Thu, 2005-09-22 at 08:31 +0000, rguenth at gcc dot gnu dot org wrote:
> ------- Additional Comments From rguenth at gcc dot gnu dot org 2005-09-22 08:31 -------
> load-pre should sink the load and fix the problem at the tree level.
Uh, load PRE doesn't sink loads, it would lift it.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/24001] Simple redundancy not eliminated
2005-09-21 16:06 [Bug tree-optimization/24001] New: " falk at debian dot org
2005-09-21 16:32 ` [Bug tree-optimization/24001] " pinskia at gcc dot gnu dot org
@ 2005-09-22 8:31 ` rguenth at gcc dot gnu dot org
2005-09-22 18:40 ` Daniel Berlin
2005-09-22 18:40 ` dberlin at dberlin dot org
2005-09-25 4:31 ` pinskia at gcc dot gnu dot org
3 siblings, 1 reply; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2005-09-22 8:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rguenth at gcc dot gnu dot org 2005-09-22 08:31 -------
load-pre should sink the load and fix the problem at the tree level.
GCSE does it at rtl level for both -O2 and -Os on i686, so maybe costs on
alpha are weird enough to prevent it from doing its work at -O2?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/24001] Simple redundancy not eliminated
2005-09-21 16:06 [Bug tree-optimization/24001] New: " falk at debian dot org
@ 2005-09-21 16:32 ` pinskia at gcc dot gnu dot org
2005-09-22 8:31 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-21 16:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-21 16:32 -------
Try with -Os and you will see it is eliminated.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-02-07 21:11 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-24001-4@http.gcc.gnu.org/bugzilla/>
2012-02-07 21:11 ` [Bug tree-optimization/24001] Simple redundancy not eliminated pinskia at gcc dot gnu.org
[not found] <bug-24001-2744@http.gcc.gnu.org/bugzilla/>
2005-12-30 22:31 ` pinskia at gcc dot gnu dot org
2006-01-03 18:39 ` dberlin at gcc dot gnu dot org
2007-10-16 13:32 ` steven at gcc dot gnu dot org
2005-09-21 16:06 [Bug tree-optimization/24001] New: " falk at debian dot org
2005-09-21 16:32 ` [Bug tree-optimization/24001] " pinskia at gcc dot gnu dot org
2005-09-22 8:31 ` rguenth at gcc dot gnu dot org
2005-09-22 18:40 ` Daniel Berlin
2005-09-22 18:40 ` dberlin at dberlin dot org
2005-09-25 4:31 ` pinskia at gcc dot gnu dot org
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).