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

This commit is contained in:
Christoph Bumiller
2013-02-25 14:45:52 +01:00
parent f1dfa414f4
commit ee431b12ec
@@ -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);
}
}