From b7a0d34f893c62f3bf571bc95f8dbfbc95f68837 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Tue, 20 Jun 2023 03:37:04 +0800 Subject: [PATCH] util: Do not use align64 over unsigned int in register_allocate.c Signed-off-by: Yonggang Luo Reviewed-by: Jesse Natalie Part-of: --- src/util/register_allocate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/register_allocate.c b/src/util/register_allocate.c index ac9feb15c84..e9e8b6e9150 100644 --- a/src/util/register_allocate.c +++ b/src/util/register_allocate.c @@ -544,7 +544,7 @@ ra_realloc_interference_graph(struct ra_graph *g, unsigned int alloc) * easier to memset the top of the growing bitsets. */ assert(g->alloc % BITSET_WORDBITS == 0); - alloc = align64(alloc, BITSET_WORDBITS); + alloc = align(alloc, BITSET_WORDBITS); g->nodes = rerzalloc(g, g->nodes, struct ra_node, g->alloc, alloc); g->adjacency = rerzalloc(g, g->adjacency, BITSET_WORD, BITSET_WORDS(ra_get_num_adjacency_bits(g->alloc)),