Re: Add a class to represent a gimple match result

2018-05-23 Thread Richard Biener
On Tue, May 22, 2018 at 9:25 AM Richard Sandiford < richard.sandif...@linaro.org> wrote: > Gimple match results are represented by a code_helper for the operation, > a tree for the type, and an array of three trees for the operands. > This patch wraps them up in a class so that they don't need to

Add a class to represent a gimple match result

2018-05-22 Thread Richard Sandiford
Gimple match results are represented by a code_helper for the operation, a tree for the type, and an array of three trees for the operands. This patch wraps them up in a class so that they don't need to be passed around individually. The main reason for doing this is to make it easier to increase