nv50/ir/ra: Fix RegisterSet::occupy(const Value *v).
This commit is contained in:

committed by
Christoph Bumiller

parent
49ded0e132
commit
fe17d8a7c0
@@ -157,7 +157,7 @@ RegisterSet::assign(int32_t& reg, DataFile f, unsigned int size)
|
|||||||
bool
|
bool
|
||||||
RegisterSet::occupy(const Value *v)
|
RegisterSet::occupy(const Value *v)
|
||||||
{
|
{
|
||||||
return occupy(v->reg.file, v->reg.data.id, v->reg.size >> unit[v->reg.file]);
|
return occupy(v->reg.file, idToUnits(v), v->reg.size >> unit[v->reg.file]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Reference in New Issue
Block a user