diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-03-11 14:35:38 -0400 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-11 20:28:21 +0000 |
commit | 9b75f410c44053a4fc84715dec473dadedf7aa14 (patch) | |
tree | bc4df4868ca0ee20c8762321665dbdb2e1abc564 /src/panfrost/midgard/compiler.h | |
parent | 933e44dd435f285e652d29389456dbafca121482 (diff) |
panfrost: Sync Midgard/Bifrost control flow
We can move e v e n more code to be shared and let bi_block inherit from
pan_block, which will allow us to use the shared data flow analysis.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4150>
Diffstat (limited to 'src/panfrost/midgard/compiler.h')
-rw-r--r-- | src/panfrost/midgard/compiler.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index 34a53cd1ac3..aa0c193d99d 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -388,14 +388,6 @@ mir_next_op(struct midgard_instruction *ins) mir_foreach_block(ctx, v_block) \ mir_foreach_instr_in_block_safe(((midgard_block *) v_block), v) -#define mir_foreach_successor(blk, v) \ - struct midgard_block *v; \ - struct midgard_block **_v; \ - for (_v = &blk->base.successors[0], \ - v = *_v; \ - v != NULL && _v < &blk->base.successors[2]; \ - _v++, v = *_v) \ - /* Based on set_foreach, expanded with automatic type casts */ #define mir_foreach_predecessor(blk, v) \ |