On 07/21/2011 03:11 PM, Richard Henderson wrote: > On 07/21/2011 03:05 PM, Steven Bosscher wrote: >> On Thu, Jul 21, 2011 at 11:17 PM, Richard Henderson <r...@redhat.com> wrote: >> >>> Suggestions for something better than the df_finish_pass hack >>> that I added at the end of partition_hot_cold_basic_blocks are >>> very welcome. >> >> Is it not enough to just call df_bb_refs_record and df_analyze >> manually after you have created the basic block and the EH edges? > > df_bb_refs_record is static. Perhaps fixing that's the real > solution, but that's why I'm RFC'ing dataflow maintainers.
I should mention here that I suspect the Cleanest solution is to make DF_DEFER_INSN_RESCAN imply that we also shouldn't grab data from the blocks those new insns are in either. In this way one can create the block, link it up properly, and have everything Just Work later, when deferred insns are processed. But I didn't immediately see a good way to do that. r~