Re: [2/n] PR85694: Attach a DEF_SEQ only to the original statement

2018-06-20 Thread Richard Sandiford
Richard Biener writes: > On Mon, Jun 18, 2018 at 4:53 PM Richard Sandiford > wrote: >> >> A pattern's PATTERN_DEF_SEQ was attached to both the original statement >> and the main pattern statement, which made it harder to update later. >> This patch attaches it to just the original statement. In

Re: [2/n] PR85694: Attach a DEF_SEQ only to the original statement

2018-06-19 Thread Richard Biener
On Mon, Jun 18, 2018 at 4:53 PM Richard Sandiford wrote: > > A pattern's PATTERN_DEF_SEQ was attached to both the original statement > and the main pattern statement, which made it harder to update later. > This patch attaches it to just the original statement. In practice, > anything that cared

[2/n] PR85694: Attach a DEF_SEQ only to the original statement

2018-06-18 Thread Richard Sandiford
A pattern's PATTERN_DEF_SEQ was attached to both the original statement and the main pattern statement, which made it harder to update later. This patch attaches it to just the original statement. In practice, anything that cared had ready access to both. Tested on aarch64-linux-gnu and x86_64-li