Re: [PATCH] Improve rtx insn vec output

2021-04-07 Thread Richard Biener via Gcc-patches
On Wed, Apr 7, 2021 at 11:17 AM Xionghu Luo wrote: > > > On 2021/4/7 14:57, Richard Biener wrote: > > On Wed, Apr 7, 2021 at 7:42 AM Xionghu Luo wrote: > >> > >> print_rtl will dump the rtx_insn from current until LAST. But it is only > >> useful to see the particular insn that called by print_r

Re: [PATCH] Improve rtx insn vec output

2021-04-07 Thread Xionghu Luo via Gcc-patches
On 2021/4/7 14:57, Richard Biener wrote: On Wed, Apr 7, 2021 at 7:42 AM Xionghu Luo wrote: print_rtl will dump the rtx_insn from current until LAST. But it is only useful to see the particular insn that called by print_rtx_insn_vec, Let's call print_rtl_single to display that insn in the gc

Re: [PATCH] Improve rtx insn vec output

2021-04-06 Thread Richard Biener via Gcc-patches
On Wed, Apr 7, 2021 at 7:42 AM Xionghu Luo wrote: > > print_rtl will dump the rtx_insn from current until LAST. But it is only > useful to see the particular insn that called by print_rtx_insn_vec, > Let's call print_rtl_single to display that insn in the gcse and store-motion > pass dump. Can y

[PATCH] Improve rtx insn vec output

2021-04-06 Thread Xionghu Luo via Gcc-patches
print_rtl will dump the rtx_insn from current until LAST. But it is only useful to see the particular insn that called by print_rtx_insn_vec, Let's call print_rtl_single to display that insn in the gcse and store-motion pass dump. 2021-04-07 Xionghu Luo gcc/ChangeLog: * fold-const.c