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:
734a8bd
)
pan/bi: Clean up nits in liveness analysis
author
Alyssa Rosenzweig
<alyssa@collabora.com>
Thu, 23 Dec 2021 16:08:03 +0000
(11:08 -0500)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 22 Feb 2022 16:57:30 +0000
(16:57 +0000)
Fix minor silly things.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14298>
src/panfrost/bifrost/bi_liveness.c
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bi_liveness.c
b/src/panfrost/bifrost/bi_liveness.c
index
c34edf0
..
493b06d
100644
(file)
--- a/
src/panfrost/bifrost/bi_liveness.c
+++ b/
src/panfrost/bifrost/bi_liveness.c
@@
-69,7
+69,7
@@
liveness_block_update(bi_block *blk, unsigned temp_count)
memcpy(live, blk->live_out, temp_count);
bi_foreach_instr_in_block_rev(blk, ins)
- bi_liveness_ins_update(live,
(bi_instr *)
ins, temp_count);
+ bi_liveness_ins_update(live, ins, temp_count);
/* To figure out progress, diff live_in */
@@
-105,7
+105,7
@@
bi_compute_liveness(bi_context *ctx)
_mesa_hash_pointer,
_mesa_key_pointer_equal);
-
list_for_each_entry(bi_block, block, &ctx->blocks, lin
k) {
+
bi_foreach_block(ctx, bloc
k) {
if (block->live_in)
ralloc_free(block->live_in);