Displaying 1 result from an estimated 1 matches for "reldegree".
Did you mean:
rdegree
2016 Jan 06
1
[PATCH] nv50/ir: don't touch degree on physreg RIG nodes
...cd8c42c..f1ffcba 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
@@ -1129,9 +1129,11 @@ GCRA::doCoalesce(ArrayList& insns, unsigned int mask)
void
GCRA::RIG_Node::addInterference(RIG_Node *node)
{
- this->degree += relDegree[node->colors][colors];
- node->degree += relDegree[colors][node->colors];
-
+ // don't add degree for physregs since they won't go through simplify()
+ if (this->reg < 0)
+ this->degree += relDegree[node->colors][colors];
+ if (node->reg < 0)
+ n...