util: Avoid double promotion.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
Matt Turner
2015-07-12 18:01:54 -07:00
parent 29ef7a9f19
commit b568a5f6a8

View File

@@ -648,7 +648,7 @@ ra_get_best_spill_node(struct ra_graph *g)
float cost = g->nodes[n].spill_cost;
float benefit;
if (cost <= 0.0)
if (cost <= 0.0f)
continue;
if (g->nodes[n].in_stack)