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:
e94e6c4
)
pan/bi: Assume SSA in mod prop
author
Alyssa Rosenzweig
<alyssa@collabora.com>
Mon, 25 Jul 2022 19:01:46 +0000
(15:01 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:23 +0000
(16:03 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/bi_opt_mod_props.c
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bi_opt_mod_props.c
b/src/panfrost/bifrost/bi_opt_mod_props.c
index
3a588bb
..
7e63a18
100644
(file)
--- a/
src/panfrost/bifrost/bi_opt_mod_props.c
+++ b/
src/panfrost/bifrost/bi_opt_mod_props.c
@@
-207,8
+207,7
@@
bi_opt_mod_prop_forward(bi_context *ctx)
}
bi_foreach_dest(I, d) {
- if (bi_is_ssa(I->dest[d]))
- lut[I->dest[d].value] = I;
+ lut[I->dest[d].value] = I;
}
bi_foreach_src(I, s) {
@@
-406,7
+405,7
@@
bi_opt_mod_prop_backward(bi_context *ctx)
}
}
- if (!I->nr_dests
|| !bi_is_ssa(I->dest[0])
)
+ if (!I->nr_dests)
continue;
bi_instr *use = uses[I->dest[0].value];