Re: [PATCH, PR tree-optimization/68145] Fix vectype computation in vectorizable_operation

2015-11-06 Thread Richard Biener
On Thu, Nov 5, 2015 at 5:16 PM, Ilya Enkovich wrote: > Hi, > > This patch fixes a way vectype is computed in vectorizable_operation. > Currently op0 is always used to compute vectype. If it is a loop invariant > then its type is used to get vectype which is impossible for booleans > requiring

[PATCH, PR tree-optimization/68145] Fix vectype computation in vectorizable_operation

2015-11-05 Thread Ilya Enkovich
Hi, This patch fixes a way vectype is computed in vectorizable_operation. Currently op0 is always used to compute vectype. If it is a loop invariant then its type is used to get vectype which is impossible for booleans requiring a context to correctly compute vectype. This patch uses output