Improve rtx insn vec output
authorXionghu Luo <luoxhu@linux.ibm.com>
Wed, 7 Apr 2021 05:29:32 +0000 (00:29 -0500)
committerXionghu Luo <luoxhu@linux.ibm.com>
Thu, 8 Apr 2021 02:04:22 +0000 (21:04 -0500)
commit0fb21ba79919b3c0ff30484546f48074899a3305
tree6eda6bb3b91c17ac16edaf7da1fad4f5177908d0
parent299859c2a458062c882c68c2e24022497726408f
Improve rtx insn vec output

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  <luoxhu@linux.ibm.com>

gcc/ChangeLog:

* fold-const.c (fold_single_bit_test): Fix typo.
* print-rtl.c (print_rtx_insn_vec): Call print_rtl_single
instead.
gcc/fold-const.c
gcc/print-rtl.c