https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
Bug 24001 depends on bug 23286, which changed state.
Bug 23286 Summary: Missed code hoisting optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23286
What|Removed |Added
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24001
Andrew Pinski changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
--- 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 bec
--- 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?i
--- 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|Remov
--- 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
-
--- 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 +, rguenth at gcc dot gnu dot org wrote:
> --- Additional Comments From rguenth at gcc dot gnu dot org 2005-09-22
> 08:31
On Thu, 2005-09-22 at 08:31 +, 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.
--- 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
--- 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
10 matches
Mail list logo