Re: [3/6] Avoid accounting for non-existent vector loop versioning

2019-11-06 Thread Richard Biener
On Tue, Nov 5, 2019 at 3:28 PM Richard Sandiford wrote: > > vect_analyze_loop_costing uses two profitability thresholds: a runtime > one and a static compile-time one. The runtime one is simply the point > at which the vector loop is cheaper than the scalar loop, while the > static one also takes

[3/6] Avoid accounting for non-existent vector loop versioning

2019-11-05 Thread Richard Sandiford
vect_analyze_loop_costing uses two profitability thresholds: a runtime one and a static compile-time one. The runtime one is simply the point at which the vector loop is cheaper than the scalar loop, while the static one also takes into account the cost of choosing between the scalar and vector lo