Re: [PATCH] middle-end/111975 - dump -> GIMPLE FE roundtrip improvements

2023-12-18 Thread Richard Biener
On Mon, 18 Dec 2023, Jakub Jelinek wrote: > On Mon, Dec 18, 2023 at 03:08:49PM +0100, Richard Biener wrote: > > The following improves the manual work needed to make a -gimple dump > > valid input to the GIMPLE FE. First of all it recognizes the 'sizetype' > > tree and dumps it as __SIZETYPE__, t

Re: [PATCH] middle-end/111975 - dump -> GIMPLE FE roundtrip improvements

2023-12-18 Thread Jakub Jelinek
On Mon, Dec 18, 2023 at 03:08:49PM +0100, Richard Biener wrote: > The following improves the manual work needed to make a -gimple dump > valid input to the GIMPLE FE. First of all it recognizes the 'sizetype' > tree and dumps it as __SIZETYPE__, then it changes dumping vector types > without name

[PATCH] middle-end/111975 - dump -> GIMPLE FE roundtrip improvements

2023-12-18 Thread Richard Biener
The following improves the manual work needed to make a -gimple dump valid input to the GIMPLE FE. First of all it recognizes the 'sizetype' tree and dumps it as __SIZETYPE__, then it changes dumping vector types without name from 'vector(n) T' to 'T [[gnu::vector_size(n')]]' which we can parse in