Re: [PATCH] Treat tail calls as scheduling barriers (PR rtl-optimization/48721)

2011-11-30 Thread Vladimir Makarov
On 11/30/2011 12:54 PM, Jakub Jelinek wrote: Hi! As discussed in the PR, I think tail calls are best handled as full scheduling barriers, scheduling tail calls before other insns effectively means we remove those other insns, but isn't dead insn removal the job of other passes instead? In any ca

[PATCH] Treat tail calls as scheduling barriers (PR rtl-optimization/48721)

2011-11-30 Thread Jakub Jelinek
Hi! As discussed in the PR, I think tail calls are best handled as full scheduling barriers, scheduling tail calls before other insns effectively means we remove those other insns, but isn't dead insn removal the job of other passes instead? In any case, tail calls need to come up after all restor