agx: Handle collects in backwards isel

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19811>
This commit is contained in:
Alyssa Rosenzweig
2022-11-12 11:51:21 -05:00
committed by Marge Bot
parent 3b9d271646
commit 6a12d793d8
+1 -1
View File
@@ -232,7 +232,7 @@ agx_optimizer_backward(agx_context *ctx)
agx_foreach_instr_global_rev(ctx, I) {
struct agx_opcode_info info = agx_opcodes_info[I->op];
for (unsigned s = 0; s < info.nr_srcs; ++s) {
agx_foreach_ssa_src(I, s) {
if (I->src[s].type == AGX_INDEX_NORMAL) {
unsigned v = I->src[s].value;