This is the mail archive of the gcc-patches@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]

Re: Optimize df_worklist_dataflow


On 06/12/2010 08:06 PM, Jan Hubicka wrote:
On Sat, Jun 12, 2010 at 7:44 PM, Jan Hubicka<hubicka@ucw.cz> wrote:

I am wondering if there are any obvious improvements for df_note_compute?

You may get more benefit from avoiding the need to call df_note_compute in the first place ;-)

Yep, I wondered about that too. IRA calls df_note_compute twice for reasons I do not understand. Otherwise it is forwprop, combine, regmove and other passes that seem to make use of it.

You might know if i.e. forwprop can be easilly reorganized to avoid the need.

fwprop uses notes to do forward simulation of liveness. Since its two problems (LIVE and MD) are a forwards problem and a backwards problem, there's really no way to avoid that.


If you prefer, I can avoid the notes and go back to reaching definitions. :-P :-P

Paolo


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