Re: avoid remove&reinsert of call when splitting block for inlining

2017-05-10 Thread Richard Biener
On Tue, May 9, 2017 at 10:12 PM, Alexandre Oliva wrote: > We used to split the inlined-into block at (= after) the call, and then > remove the call from the first block to insert it in the second. > > The removal may cause unnecessary and unrecoverable resetting of debug > insns: we do not generat

avoid remove&reinsert of call when splitting block for inlining

2017-05-09 Thread Alexandre Oliva
We used to split the inlined-into block at (= after) the call, and then remove the call from the first block to insert it in the second. The removal may cause unnecessary and unrecoverable resetting of debug insns: we do not generate debug temps for calls. Avoid the remove-and-reinsert dance by s