From afd88d138040788c1be244d7821b2357a6502754 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 9 May 2022 17:28:38 -0400 Subject: [PATCH] pan/bi: Add source/destination counts In preparation for dynamic allocation, as needed for phi nodes and parallel copies. For now, it just serves to simplify the semantics of splits and collects. Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/compiler.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index 66d969c04ec..85b055abf8d 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -379,6 +379,8 @@ typedef struct { struct list_head link; enum bi_opcode op; + uint8_t nr_srcs; + uint8_t nr_dests; /* Data flow */ bi_index dest[BI_MAX_DESTS];