diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index d358e79a113..2afd165637e 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -686,6 +686,10 @@ bi_node_to_index(unsigned node, unsigned node_count) #define bi_foreach_dest(ins, v) \ for (unsigned v = 0; v < ARRAY_SIZE(ins->dest); ++v) +#define bi_foreach_instr_and_src_in_tuple(tuple, ins, s) \ + bi_foreach_instr_in_tuple(tuple, ins) \ + bi_foreach_src(ins, s) + static inline bi_instr * bi_prev_op(bi_instr *ins) {