pan/lcra: Remove unused alignment parameters

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5151>
This commit is contained in:
Alyssa Rosenzweig 2020-05-06 18:17:02 -04:00 committed by Marge Bot
parent 21405f6fcf
commit 0737080ba6
4 changed files with 2 additions and 4 deletions

View file

@ -67,7 +67,7 @@ bi_allocate_registers(bi_context *ctx, bool *success)
unsigned node_count = bi_max_temp(ctx);
struct lcra_state *l =
lcra_alloc_equations(node_count, 1, 8, 16, 1);
lcra_alloc_equations(node_count, 16, 1);
l->class_start[BI_REG_CLASS_WORK] = 0;
l->class_size[BI_REG_CLASS_WORK] = 64 * 4; /* R0 - R63, all 32-bit */

View file

@ -449,7 +449,7 @@ allocate_registers(compiler_context *ctx, bool *spilled)
if (!ctx->temp_count)
return NULL;
struct lcra_state *l = lcra_alloc_equations(ctx->temp_count, 1, 8, 16, 5);
struct lcra_state *l = lcra_alloc_equations(ctx->temp_count, 16, 5);
/* Starts of classes, in bytes */
l->class_start[REG_CLASS_WORK] = 16 * 0;

View file

@ -42,7 +42,6 @@
struct lcra_state *
lcra_alloc_equations(
unsigned node_count,
unsigned min_alignment, unsigned max_alignment,
unsigned bound, unsigned class_count)
{
struct lcra_state *l = calloc(1, sizeof(*l));

View file

@ -82,7 +82,6 @@ struct lcra_state {
struct lcra_state *
lcra_alloc_equations(
unsigned node_count,
unsigned min_alignment, unsigned max_alignment,
unsigned bound, unsigned class_count);
void