From cf5b2b89391c1764887903c7955994a6f6ed29db Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Wed, 16 Dec 2020 14:29:43 -0500 Subject: [PATCH] pan/bi: Remove old IR instruction emit Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/compiler.h | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/panfrost/bifrost/compiler.h b/src/panfrost/bifrost/compiler.h index a0c3cfc23d9..db4b2c268c8 100644 --- a/src/panfrost/bifrost/compiler.h +++ b/src/panfrost/bifrost/compiler.h @@ -823,24 +823,6 @@ typedef struct { unsigned fills; } bi_context; -static inline bi_instruction * -bi_emit(bi_context *ctx, bi_instruction ins) -{ - bi_instruction *u = rzalloc(ctx, bi_instruction); - memcpy(u, &ins, sizeof(ins)); - list_addtail(&u->link, &ctx->current_block->base.instructions); - return u; -} - -static inline bi_instruction * -bi_emit_before(bi_context *ctx, bi_instruction *tag, bi_instruction ins) -{ - bi_instruction *u = rzalloc(ctx, bi_instruction); - memcpy(u, &ins, sizeof(ins)); - list_addtail(&u->link, &tag->link); - return u; -} - static inline void bi_remove_instruction(bi_instruction *ins) {