Re: [PATCH] tree-optimization/104912 - ensure cost model is checked first

2022-03-31 Thread Richard Biener via Gcc-patches
On Thu, 31 Mar 2022, Richard Sandiford wrote: > Richard Biener writes: > > The following makes sure that when we build the versioning condition > > for vectorization including the cost model check, we check for the > > cost model and branch over other versioning checks. That is what > > the cost

Re: [PATCH] tree-optimization/104912 - ensure cost model is checked first

2022-03-31 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > The following makes sure that when we build the versioning condition > for vectorization including the cost model check, we check for the > cost model and branch over other versioning checks. That is what > the cost modeling assumes, since the cost model check is the only

[PATCH] tree-optimization/104912 - ensure cost model is checked first

2022-03-21 Thread Richard Biener via Gcc-patches
The following makes sure that when we build the versioning condition for vectorization including the cost model check, we check for the cost model and branch over other versioning checks. That is what the cost modeling assumes, since the cost model check is the only one accounted for in the scalar