Re: [PATCH] Tweaks to print_rtx_function

2016-10-13 Thread Bernd Schmidt
On 10/13/2016 04:08 PM, David Malcolm wrote: I thought it might be useful to brainstorm [1] some ideas on this, so here are various possible ways it could be printed for this use-case: * Offset by LAST_VIRTUAL_REGISTER + 1 (as in the patch), and printed just as a number, giving: (reg:SI 3)

Re: [PATCH] Tweaks to print_rtx_function

2016-10-13 Thread David Malcolm
On Thu, 2016-10-13 at 12:24 +0200, Bernd Schmidt wrote: > On 10/12/2016 11:04 PM, David Malcolm wrote: > > > > This patch implements: > > * the renumbering of non-virtual pseudos, using > > LAST_VIRTUAL_REGISTER + 1 as a base. > > * omitting the edge "(flags)" directive if there aren't any > >

Re: [PATCH] Tweaks to print_rtx_function

2016-10-13 Thread Bernd Schmidt
On 10/12/2016 11:04 PM, David Malcolm wrote: This patch implements: * the renumbering of non-virtual pseudos, using LAST_VIRTUAL_REGISTER + 1 as a base. * omitting the edge "(flags)" directive if there aren't any Bootstrap & regrtest in progress. OK for trunk if they pass? I tend to think

[PATCH] Tweaks to print_rtx_function

2016-10-12 Thread David Malcolm
On Wed, 2016-10-12 at 19:31 +0200, Bernd Schmidt wrote: > On 10/12/2016 07:48 PM, David Malcolm wrote: [...snip...] > > I think the only remaining item from our discussion above is what > > to do > > about the numbering of pseudos in the dumps (currently it just > > prints the regno > > unmodifie