Re: [16/23] recog: Add a way of temporarily undoing changes

2020-12-16 Thread Richard Sandiford via Gcc-patches
Jeff Law via Gcc-patches writes: > On 11/13/20 1:19 AM, Richard Sandiford via Gcc-patches wrote: >> In some cases, it can be convenient to roll back the changes that >> have been made by validate_change to see how things looked before, >> then reroll the changes. For example, this makes it

Re: [16/23] recog: Add a way of temporarily undoing changes

2020-11-25 Thread Jeff Law via Gcc-patches
On 11/13/20 1:19 AM, Richard Sandiford via Gcc-patches wrote: > In some cases, it can be convenient to roll back the changes that > have been made by validate_change to see how things looked before, > then reroll the changes. For example, this makes it possible > to defer calculating the cost

[16/23] recog: Add a way of temporarily undoing changes

2020-11-13 Thread Richard Sandiford via Gcc-patches
In some cases, it can be convenient to roll back the changes that have been made by validate_change to see how things looked before, then reroll the changes. For example, this makes it possible to defer calculating the cost of an instruction until we know that the result is actually needed. It