util: Do not use align64 over unsigned int in register_allocate.c
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23732>
This commit is contained in:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user