nv50/ir/opt: don't regard OP_WRSV as dead code
This commit is contained in:
parent
a765d7880f
commit
2fc014f8c0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue