Re: Constant folding of VEC_COND_EXPR

2013-04-02 Thread Richard Biener
On Sun, Mar 31, 2013 at 7:20 PM, Marc Glisse wrote: > On Sun, 31 Mar 2013, Andrew Pinski wrote: > >> On Sun, Mar 31, 2013 at 6:31 AM, Marc Glisse wrote: >>> >>> Hello, >>> >>> this adds constant folding of VEC_COND_EXPR at the tree level by >>> forwarding >>> to the VEC_PERM_EXPR code (a merge is

Re: Constant folding of VEC_COND_EXPR

2013-03-31 Thread Marc Glisse
On Sun, 31 Mar 2013, Andrew Pinski wrote: On Sun, Mar 31, 2013 at 6:31 AM, Marc Glisse wrote: Hello, this adds constant folding of VEC_COND_EXPR at the tree level by forwarding to the VEC_PERM_EXPR code (a merge is a special case of a permutation). The CONSTRUCTOR case may be unreachable for

Re: Constant folding of VEC_COND_EXPR

2013-03-31 Thread Andrew Pinski
On Sun, Mar 31, 2013 at 6:31 AM, Marc Glisse wrote: > Hello, > > this adds constant folding of VEC_COND_EXPR at the tree level by forwarding > to the VEC_PERM_EXPR code (a merge is a special case of a permutation). The > CONSTRUCTOR case may be unreachable for now (it will probably need an extra >