Re: [PATCH, rs6000] Avoid optimization problem for VEC_PERM_EXPR

2014-01-23 Thread Bill Schmidt
On Thu, 2014-01-23 at 19:42 -0500, David Edelsohn wrote: > On Thu, Jan 23, 2014 at 6:43 PM, Bill Schmidt > wrote: > > Hi, > > > > While testing another patch, I hit a regression at -O2 for two of the > > vector shuffle tests. This patch fixes the problem. > > > > The problem was introduced with

Re: [PATCH, rs6000] Avoid optimization problem for VEC_PERM_EXPR

2014-01-23 Thread David Edelsohn
On Thu, Jan 23, 2014 at 6:43 PM, Bill Schmidt wrote: > Hi, > > While testing another patch, I hit a regression at -O2 for two of the > vector shuffle tests. This patch fixes the problem. > > The problem was introduced with the little endian fixes for > VEC_PERM_EXPR. The original change performe

[PATCH, rs6000] Avoid optimization problem for VEC_PERM_EXPR

2014-01-23 Thread Bill Schmidt
Hi, While testing another patch, I hit a regression at -O2 for two of the vector shuffle tests. This patch fixes the problem. The problem was introduced with the little endian fixes for VEC_PERM_EXPR. The original change performed the necessary transformation at expand time, but this is incorre