Re: [PATCH] Add debug_bb_details and debug_bb_n_details

2020-10-26 Thread Richard Biener
On Mon, 26 Oct 2020, Xionghu Luo wrote: > > On 2020/10/23 18:18, Richard Biener wrote: > > On Fri, 23 Oct 2020, Xiong Hu Luo wrote: > > > >> Sometimes debug_bb_slim&debug_bb_n_slim is not enough, how about adding > >> this debug_bb_details&debug_bb_n_details? Or any other similar call > >> exist

Re: [PATCH] Add debug_bb_details and debug_bb_n_details

2020-10-25 Thread Xionghu Luo via Gcc-patches
On 2020/10/23 18:18, Richard Biener wrote: > On Fri, 23 Oct 2020, Xiong Hu Luo wrote: > >> Sometimes debug_bb_slim&debug_bb_n_slim is not enough, how about adding >> this debug_bb_details&debug_bb_n_details? Or any other similar call >> existed? > There's already debug_bb and debug_bb_n in cfg.c

Re: [PATCH] Add debug_bb_details and debug_bb_n_details

2020-10-23 Thread Richard Biener
On Fri, 23 Oct 2020, Xiong Hu Luo wrote: > Sometimes debug_bb_slim&debug_bb_n_slim is not enough, how about adding > this debug_bb_details&debug_bb_n_details? Or any other similar call > existed? There's already debug_bb and debug_bb_n in cfg.c which works on both RTL and GIMPLE. How about inste

Re: [PATCH] Add debug_bb_details and debug_bb_n_details

2020-10-23 Thread Segher Boessenkool
On Fri, Oct 23, 2020 at 04:34:02AM -0500, Xiong Hu Luo wrote: > Sometimes debug_bb_slim&debug_bb_n_slim is not enough, how about adding > this debug_bb_details&debug_bb_n_details? Or any other similar call > existed? > + dump_bb (stderr, bb, 0, TDF_DETAILS | TDF_BLOCKS); You can just call this d