Re: [PATCH] Handle VEC_SERIES with both constant args in simplify_binary_operation

2017-11-22 Thread Richard Sandiford
Jakub Jelinek writes: > Hi! > > I've noticed that if we construct a VEC_SERIES and later propagate > constants into both arguments (could happen e.g. in DEBUG_INSNs, or > during combine etc.) we don't simplify that. > > The following patch adds that, ok for trunk if it passes bootstrap/regtest? >

[PATCH] Handle VEC_SERIES with both constant args in simplify_binary_operation

2017-11-22 Thread Jakub Jelinek
Hi! I've noticed that if we construct a VEC_SERIES and later propagate constants into both arguments (could happen e.g. in DEBUG_INSNs, or during combine etc.) we don't simplify that. The following patch adds that, ok for trunk if it passes bootstrap/regtest? Or should it go into simplify_consta