nv50/ir: fix memory value equality check

This commit is contained in:
Christoph Bumiller 2011-10-14 19:49:22 +02:00
parent e3a3844e8d
commit 63ca1abcc4

View file

@ -508,7 +508,7 @@ ImmediateValue::equals(const Value *that, bool strict) const
bool
Symbol::equals(const Value *that, bool strict) const
{
if (this->reg.file != that->reg.file)
if (reg.file != that->reg.file || reg.fileIndex != that->reg.fileIndex)
return false;
assert(that->asSym());