From b59b1793b84ba6be9656262e703e0d9fb202d0cc Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 15 Aug 2019 08:00:04 -0700 Subject: [PATCH] pan/midgard: Shrink successors[] to 2 length A block can't have more. Signed-off-by: Alyssa Rosenzweig --- src/panfrost/midgard/compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index 942d288a326..61fe8a92b2e 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -170,7 +170,7 @@ typedef struct midgard_block { /* Succeeding blocks. The compiler should not necessarily rely on * source-order traversal */ - struct midgard_block *successors[4]; + struct midgard_block *successors[2]; unsigned nr_successors; /* The successors pointer form a graph, and in the case of -- 2.30.2