This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/26944] [4.1/4.2 Regression] -ftree-ch generates worse code



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]