Re: [PATCH, PR tree-optimization/70252] Fix boolean vectors conversion

2016-03-19 Thread Richard Biener
On Thu, Mar 17, 2016 at 1:02 PM, Ilya Enkovich wrote: > Hi, > > Current widening and narrowing vectorization functions may work > incorrectly for scalar masks because we may have different boolean > vector types having the same mode. E.g. vec(4) and vec(8) > both have QImode. That means if we ne

[PATCH, PR tree-optimization/70252] Fix boolean vectors conversion

2016-03-19 Thread Ilya Enkovich
Hi, Current widening and narrowing vectorization functions may work incorrectly for scalar masks because we may have different boolean vector types having the same mode. E.g. vec(4) and vec(8) both have QImode. That means if we need to convert vec(4) into vec(16) we may actually find QImode->HIm