This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/26944] [4.1/4.2 Regression] -ftree-ch generates worse code
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 May 2006 19:00:05 -0000
- Subject: [Bug tree-optimization/26944] [4.1/4.2 Regression] -ftree-ch generates worse code
- References: <bug-26944-1008@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at physics dot uc dot edu 2006-05-03 19:00 -------
Subject: Re: [4.1/4.2 Regression] -ftree-ch generates worse code
>
>
>
> ------- Comment #5 from dann at godzilla dot ics dot uci dot edu 2006-05-03 18:54 -------
> IMO Comment #4 does not look close enough at what is actually happening.
> IMO tree-ch is the root cause here.
>
> Given the above CFG, critical edge splitting transforms this into:
> Given the above CFG PRE will dutifully fill with code a lot of the empty basic
> blocks:
None of the above issues are the real issue. TREE CH is doing the correct
thing simplifying
the loop. PRE is doing the correct thing by getting rid of redundants.
The main issue is really the RA not being so good.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26944