Re: [PATCH] vect: Pass scalar_costs to finish_cost

2021-11-08 Thread Richard Biener via Gcc-patches
On Mon, Nov 8, 2021 at 11:48 AM Richard Sandiford via Gcc-patches wrote: > > When finishing the vector costs, it can be useful to know > what the associated scalar costs were. This allows targets > to read information collected about the original scalar loop > when trying to make a final judgemen

[PATCH] vect: Pass scalar_costs to finish_cost

2021-11-08 Thread Richard Sandiford via Gcc-patches
When finishing the vector costs, it can be useful to know what the associated scalar costs were. This allows targets to read information collected about the original scalar loop when trying to make a final judgement about the cost of the vector code. This patch therefore passes the scalar costs t