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:
083a658
)
pan/bi: Don't open code bi_foreach_dest
author
Alyssa Rosenzweig
<alyssa.rosenzweig@collabora.com>
Tue, 5 Jan 2021 15:29:01 +0000
(10:29 -0500)
committer
Marge Bot
<eric+marge@anholt.net>
Fri, 29 Jan 2021 16:55:43 +0000
(16:55 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>
src/panfrost/bifrost/bi_ra.c
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bi_ra.c
b/src/panfrost/bifrost/bi_ra.c
index
572c390
..
8db5b05
100644
(file)
--- a/
src/panfrost/bifrost/bi_ra.c
+++ b/
src/panfrost/bifrost/bi_ra.c
@@
-44,7
+44,7
@@
bi_compute_interference(bi_context *ctx, struct lcra_state *l)
/* Mark all registers live after the instruction as
* interfering with the destination */
-
for (unsigned d = 0; d < ARRAY_SIZE(ins->dest); ++
d) {
+
bi_foreach_dest(ins,
d) {
if (bi_get_node(ins->dest[d]) >= node_count)
continue;