Browse Source

nv50/ir/ra: also add pre-existing MERGE,SPLIT to constraint list

tags/mesa-9.2-rc1
Christoph Bumiller 12 years ago
parent
commit
ee431b12ec
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp

+ 3
- 1
src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp View File

@@ -1955,7 +1955,9 @@ RegAlloc::InsertConstraintsPass::visit(BasicBlock *bb)
if (i->src(0).isIndirect(0) && typeSizeof(i->dType) >= 8)
addHazard(i, i->src(0).getIndirect(0));
} else
if (i->op == OP_UNION) {
if (i->op == OP_UNION ||
i->op == OP_MERGE ||
i->op == OP_SPLIT) {
constrList.push_back(i);
}
}

Loading…
Cancel
Save