projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ef7a9
)
util: Avoid double promotion.
author
Matt Turner
<mattst88@gmail.com>
Mon, 13 Jul 2015 01:01:54 +0000
(18:01 -0700)
committer
Matt Turner
<mattst88@gmail.com>
Wed, 29 Jul 2015 16:34:52 +0000
(09:34 -0700)
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/util/register_allocate.c
patch
|
blob
|
history
diff --git
a/src/util/register_allocate.c
b/src/util/register_allocate.c
index 2ad8c3ce11a1611cb3e561cf77a3bdb6da5c58ef..95be20fcc1b711ec998359372b89ebc3a86bb690 100644
(file)
--- a/
src/util/register_allocate.c
+++ b/
src/util/register_allocate.c
@@
-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.0
f
)
continue;
if (g->nodes[n].in_stack)