diff options
author | Christoph Bumiller <[email protected]> | 2012-02-07 22:39:20 +0100 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 21:54:03 +0200 |
commit | 2fc014f8c0d9339b1652f4e037aee5697142304a (patch) | |
tree | c66e5157d73fa6e23f2ba38ae033f80334c239d7 /src/gallium | |
parent | a765d7880f80d01be261a5d1f4b356a2b6fcfaad (diff) |
nv50/ir/opt: don't regard OP_WRSV as dead code
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp index 2cca44921a5..85e08579714 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp @@ -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) |