mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
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:
parent
21405f6fcf
commit
0737080ba6
4 changed files with 2 additions and 4 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue