projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae440c9
)
agx: Remove unused allocation
author
Alyssa Rosenzweig
<alyssa@rosenzweig.io>
Tue, 1 Aug 2023 13:29:40 +0000
(09:29 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 11 Aug 2023 20:31:28 +0000
(20:31 +0000)
Relic from early RA attempts.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
src/asahi/compiler/agx_register_allocate.c
patch
|
blob
|
history
diff --git
a/src/asahi/compiler/agx_register_allocate.c
b/src/asahi/compiler/agx_register_allocate.c
index
81ef736
..
ab41eb3
100644
(file)
--- a/
src/asahi/compiler/agx_register_allocate.c
+++ b/
src/asahi/compiler/agx_register_allocate.c
@@
-1101,8
+1101,6
@@
agx_insert_parallel_copies(agx_context *ctx, agx_block *block)
void
agx_ra(agx_context *ctx)
{
- unsigned *alloc = calloc(ctx->alloc, sizeof(unsigned));
-
agx_compute_liveness(ctx);
uint8_t *ncomps = calloc(ctx->alloc, sizeof(uint8_t));
agx_instr **src_to_collect_phi = calloc(ctx->alloc, sizeof(agx_instr *));
@@
-1272,5
+1270,4
@@
agx_ra(agx_context *ctx)
free(ncomps);
free(sizes);
free(visited);
- free(alloc);
}