Re: update_stmt calls

2007-12-06 Thread Andrew MacLeod
Zdenek Dvorak wrote: Hello, during a recent discussion, it was pointed to my attention that update_stmt is performance critical. I wondered why; this is the number of update_stmt calls for combine.i (all the other passes have less then 1000 calls): <...> I have a patch that decrease

Re: update_stmt calls

2006-02-28 Thread Daniel Berlin
On Wed, 2006-03-01 at 05:31 +0100, Zdenek Dvorak wrote: > Hello, > > during a recent discussion, it was pointed to my attention that > update_stmt is performance critical. I wondered why; this is the number > of update_stmt calls for combine.i (all the other passes have less then > 1000 calls): >

Re: update_stmt calls

2006-02-28 Thread Andrew Pinski
On Feb 28, 2006, at 11:31 PM, Zdenek Dvorak wrote: tree FRE : 2060 ( 1%) I bet the reason why this is so high is because we really don't remove useless casts before going into SSA so it pills up. -- Pinski

Re: update_stmt calls

2006-02-28 Thread Andrew Pinski
On Feb 28, 2006, at 11:31 PM, Zdenek Dvorak wrote: I have a patch that decreases number of update_stmt calls in tree alias analysis to 46525; still, is it really that useful to run pass_may_alias *six* times during compilation? Obviously, we need the initial one, and there are comments after