From: Christoph Bumiller Date: Mon, 25 Feb 2013 13:45:52 +0000 (+0100) Subject: nv50/ir/ra: also add pre-existing MERGE,SPLIT to constraint list X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee431b12ec9586e9fad058014ec9f4c667055d48;p=mesa.git nv50/ir/ra: also add pre-existing MERGE,SPLIT to constraint list --- diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp index 7e3291db417..5e5255fc4f8 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp @@ -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); } }