From: Vasily Khoruzhick Date: Tue, 20 Aug 2019 14:30:46 +0000 (-0700) Subject: lima/ppir: print register index and components number for spilled register X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=681e99d11cf85638dc7a163c9096c6ea6eab1b62;p=mesa.git lima/ppir: print register index and components number for spilled register It can be useful for debugging purposes Tested-by: Andreas Baierl Reviewed-by: Qiang Yu Reviewed-by: Erico Nunes Signed-off-by: Vasily Khoruzhick --- diff --git a/src/gallium/drivers/lima/ir/pp/regalloc.c b/src/gallium/drivers/lima/ir/pp/regalloc.c index 8df6058ec0a..dcefa1e6480 100644 --- a/src/gallium/drivers/lima/ir/pp/regalloc.c +++ b/src/gallium/drivers/lima/ir/pp/regalloc.c @@ -602,7 +602,9 @@ static bool ppir_regalloc_prog_try(ppir_compiler *comp, bool *spilled) /* Ask the outer loop to call back in. */ *spilled = true; - ppir_debug("spilled register\n"); + ppir_debug("spilled register %d/%d, num_components: %d\n", + chosen->regalloc_index, list_length(&comp->reg_list), + chosen->num_components); goto err_out; }