pan/bi: Remove bi_is_live_after

Unused on Bifrost, and only used on Midgard for something that doesn't
apply to Bifrost.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8213>
This commit is contained in:
Alyssa Rosenzweig 2020-12-11 10:59:48 -05:00 committed by Marge Bot
parent 6a46b38d12
commit f31922faf7
2 changed files with 0 additions and 21 deletions

View File

@ -66,23 +66,3 @@ bi_invalidate_liveness(bi_context *ctx)
ctx->has_liveness = false;
}
bool
bi_is_live_after(bi_context *ctx, bi_block *block, bi_instruction *start, int src)
{
bi_compute_liveness(ctx);
/* Check whether we're live in the successors */
if (pan_liveness_get(block->base.live_out, src, bi_max_temp(ctx)))
return true;
/* Check the rest of the block for liveness */
bi_foreach_instr_in_block_from(block, ins, bi_next_op(start)) {
if (bi_has_arg(ins, src))
return true;
}
return false;
}

View File

@ -751,7 +751,6 @@ bi_clause *bi_make_singleton(void *memctx, bi_instruction *ins,
void bi_compute_liveness(bi_context *ctx);
void bi_liveness_ins_update(uint16_t *live, bi_instruction *ins, unsigned max);
void bi_invalidate_liveness(bi_context *ctx);
bool bi_is_live_after(bi_context *ctx, bi_block *block, bi_instruction *start, int src);
/* Layout */