Re: [PATCH] Better const_vector printing

2021-04-14 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > On April 14, 2021 5:10:26 PM GMT+02:00, Richard Sandiford via Gcc-patches > wrote: >>Looking at PR99929 showed that we weren't dumping enough information >>about variable-length CONST_VECTORs. Something like: >> >> (const_vector:VNx4SI [(const_int 1) (const_int 0)]) >>

Re: [PATCH] Better const_vector printing

2021-04-14 Thread Richard Biener via Gcc-patches
On April 14, 2021 5:10:26 PM GMT+02:00, Richard Sandiford via Gcc-patches wrote: >Looking at PR99929 showed that we weren't dumping enough information >about variable-length CONST_VECTORs. Something like: > > (const_vector:VNx4SI [(const_int 1) (const_int 0)]) > >could be either: > >(a) 1, 0, 1

[PATCH] Better const_vector printing

2021-04-14 Thread Richard Sandiford via Gcc-patches
Looking at PR99929 showed that we weren't dumping enough information about variable-length CONST_VECTORs. Something like: (const_vector:VNx4SI [(const_int 1) (const_int 0)]) could be either: (a) 1, 0, 1, 0, repeating (b) 1 followed by all zeros This patch adds more information to the dumps.