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:
98c69de
)
pan/bi: Strengenth assert in the validator
author
Alyssa Rosenzweig
<alyssa@collabora.com>
Tue, 26 Jul 2022 16:25:19 +0000
(12:25 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 2 Sep 2022 16:03:24 +0000
(16:03 +0000)
We should only see SSA now.
Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17794>
src/panfrost/bifrost/bi_validate.c
patch
|
blob
|
history
diff --git
a/src/panfrost/bifrost/bi_validate.c
b/src/panfrost/bifrost/bi_validate.c
index
0cab982
..
807aff1
100644
(file)
--- a/
src/panfrost/bifrost/bi_validate.c
+++ b/
src/panfrost/bifrost/bi_validate.c
@@
-116,7
+116,7
@@
bi_validate_width(bi_context *ctx)
bi_foreach_instr_global(ctx, I) {
bi_foreach_dest(I, d) {
-
if (!bi_is_ssa(I->dest[d])) continue
;
+
assert(bi_is_ssa(I->dest[d]))
;
unsigned v = I->dest[d].value;
assert(width[v] == 0 && "broken SSA");