nv50/ir/opt: don't regard OP_WRSV as dead code

This commit is contained in:
Christoph Bumiller 2012-02-07 22:39:20 +01:00
parent a765d7880f
commit 2fc014f8c0
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,8 @@ Instruction::isNop() const
bool Instruction::isDead() const
{
if (op == OP_STORE ||
op == OP_EXPORT)
op == OP_EXPORT ||
op == OP_WRSV)
return false;
for (int d = 0; defExists(d); ++d)