[PATCH] print_rtx: implement support for reuse IDs (v2)

2016-11-07 Thread David Malcolm
On Tue, 2016-10-25 at 14:47 +0200, Bernd Schmidt wrote: > On 10/21/2016 10:27 PM, David Malcolm wrote: > > Thanks. I attemped to use those fields of recog_data, but it > > doesn't > > seem to be exactly what's needed here. > > Yeah, I may have been confused. I'm not sure that just looking at > SC

Re: [PATCH] print_rtx: implement support for reuse IDs

2016-10-25 Thread Bernd Schmidt
On 10/21/2016 10:27 PM, David Malcolm wrote: Thanks. I attemped to use those fields of recog_data, but it doesn't seem to be exactly what's needed here. Yeah, I may have been confused. I'm not sure that just looking at SCRATCHes is the right thing either, but I think you're on the right trac

[PATCH] print_rtx: implement support for reuse IDs

2016-10-21 Thread David Malcolm
On Thu, 2016-10-20 at 11:22 +0200, Bernd Schmidt wrote: > > Recognizing by SCRATCH wouldn't catch everything, I believe. You > > should > > be able to check n_dups and dup_loc in recog_data to identify cases > > where you need to ensure something is restored with pointer > > equality. Thanks. I a