Re: [patch] Reduce memory overhead for build_insn_chain

2012-08-07 Thread Vladimir Makarov
On 08/07/2012 02:22 AM, Steven Bosscher wrote: Hello, In the test case for PR54146, build_insn_chain spends almost all its time in this loop: FOR_EACH_BB_REVERSE (bb) { bitmap_iterator bi; rtx insn; CLEAR_REG_SET (live_relevant_regs); --> memset (live_subregs_use

[patch] Reduce memory overhead for build_insn_chain

2012-08-06 Thread Steven Bosscher
Hello, In the test case for PR54146, build_insn_chain spends almost all its time in this loop: FOR_EACH_BB_REVERSE (bb) { bitmap_iterator bi; rtx insn; CLEAR_REG_SET (live_relevant_regs); --> memset (live_subregs_used, 0, max_regno * sizeof (int)); The test case has >4