Re: Ensure PATTERN_DEF_SEQ is empty before recognising patterns

2018-07-03 Thread Richard Biener
On Tue, Jul 3, 2018 at 10:10 AM Richard Sandiford wrote: > > Various recognisers set PATTERN_DEF_SEQ to null before adding > statements to it, but it should always be null at that point anyway. > This patch asserts for that in vect_pattern_recog_1 and removes > the redundant code. > > Tested on aa

Ensure PATTERN_DEF_SEQ is empty before recognising patterns

2018-07-03 Thread Richard Sandiford
Various recognisers set PATTERN_DEF_SEQ to null before adding statements to it, but it should always be null at that point anyway. This patch asserts for that in vect_pattern_recog_1 and removes the redundant code. Tested on aarch64-linux-gnu, arm-linux-gnueabihf and x86_64-linux-gnu. OK to instal