Re: [2/5] Make vectorizable_operation punt early on codes it doesn't handle

2019-11-29 Thread Richard Biener
On Fri, Nov 29, 2019 at 11:13 AM Richard Sandiford wrote: > > vectorizable_operation returned false for codes that are handled by > vectorizable_shift, but only after it had already done a lot of work. > Checking earlier should be more efficient and avoid polluting the logs > with duplicate info.

[2/5] Make vectorizable_operation punt early on codes it doesn't handle

2019-11-29 Thread Richard Sandiford
vectorizable_operation returned false for codes that are handled by vectorizable_shift, but only after it had already done a lot of work. Checking earlier should be more efficient and avoid polluting the logs with duplicate info. Also, there was no such early-out for comparisons or COND_EXPRs. Fix