Re: Question on updating DF info during code hoisting

2012-10-23 Thread Steven Bosscher
On Tue, Oct 23, 2012 at 5:17 AM, Bin.Cheng wrote: > Thanks for your explanation. > Now I understand how df_insn_info is updated when > deleting/modifying/creating insn. One more question is when and how > IN/OUT information is updated. GCC calls df_set_bb_dirty when handling > insns, but I did not

Re: Question on updating DF info during code hoisting

2012-10-22 Thread Bin.Cheng
On Mon, Oct 22, 2012 at 6:25 PM, Steven Bosscher wrote: > Bin.Cheng wrote: >> It is possible to have register pressure decreased when hoisting an >> expression up in flow graph because of shrunk live range of input >> register operands. >> To accurately simulating the change of register pressure,

Re: Question on updating DF info during code hoisting

2012-10-22 Thread Steven Bosscher
Bin.Cheng wrote: > It is possible to have register pressure decreased when hoisting an > expression up in flow graph because of shrunk live range of input > register operands. > To accurately simulating the change of register pressure, I have to > check the change of live range of input operands du