Re: [PATCH] Fix part of PR48037

2011-03-16 Thread Richard Guenther
On Tue, 15 Mar 2011, Andrew Pinski wrote: > On Tue, Mar 15, 2011 at 5:19 AM, Richard Guenther wrote: > > > > This avoids spilling SSE registers to memory just because we access > > vector components in a C array way.  The trick is to simply rewrite > > those accesses to proper vector selects on t

Re: [PATCH] Fix part of PR48037

2011-03-15 Thread Andrew Pinski
On Tue, Mar 15, 2011 at 5:19 AM, Richard Guenther wrote: > > This avoids spilling SSE registers to memory just because we access > vector components in a C array way.  The trick is to simply rewrite > those accesses to proper vector selects on the tree level and promote > the vector to SSA form. >