From ee431b12ec9586e9fad058014ec9f4c667055d48 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Mon, 25 Feb 2013 14:45:52 +0100 Subject: [PATCH] nv50/ir/ra: also add pre-existing MERGE,SPLIT to constraint list --- src/gallium/drivers/nv50/codegen/nv50_ir_ra.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } } -- 2.30.2