Re: [PATCH] [GIMPLE FE] allow to unit test loop passes

2022-03-18 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > The following arranges for the GIMPLE frontend to parse an > additional loops(...) specification, currently consisting of > 'normal' and 'lcssa'. The intent is to allow unit testing > of passes inside the GIMPLE loop optimization pipeline where > we keep the IL in loop-cl

[PATCH] [GIMPLE FE] allow to unit test loop passes

2022-03-17 Thread Richard Biener via Gcc-patches
The following arranges for the GIMPLE frontend to parse an additional loops(...) specification, currently consisting of 'normal' and 'lcssa'. The intent is to allow unit testing of passes inside the GIMPLE loop optimization pipeline where we keep the IL in loop-closed SSA and have SCEV initialized