Mesa (master): freedreno/ir3/postsched: remove some leftovers

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Apr 13 21:06:29 UTC 2020


Module: Mesa
Branch: master
Commit: 017fdab2172c845eb7dd6e11d2a5c13245374247
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=017fdab2172c845eb7dd6e11d2a5c13245374247

Author: Rob Clark <robdclark at chromium.org>
Date:   Wed Mar 18 10:01:03 2020 -0700

freedreno/ir3/postsched: remove some leftovers

These aren't used in postsched.

Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4440>

---

 src/freedreno/ir3/ir3_postsched.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/freedreno/ir3/ir3_postsched.c b/src/freedreno/ir3/ir3_postsched.c
index 2049cca479e..3dc4505c52d 100644
--- a/src/freedreno/ir3/ir3_postsched.c
+++ b/src/freedreno/ir3/ir3_postsched.c
@@ -58,8 +58,6 @@ struct ir3_postsched_ctx {
 	struct dag *dag;
 
 	struct list_head unscheduled_list; /* unscheduled instructions */
-	struct ir3_instruction *scheduled; /* last scheduled instr */
-	struct ir3_instruction *pred;      /* current p0.x user, if any */
 
 	bool error;
 
@@ -90,14 +88,9 @@ schedule(struct ir3_postsched_ctx *ctx, struct ir3_instruction *instr)
 	 */
 	list_delinit(&instr->node);
 
-	if (writes_pred(instr)) {
-		ctx->pred = instr;
-	}
-
 	di(instr, "schedule");
 
 	list_addtail(&instr->node, &instr->block->instr_list);
-	ctx->scheduled = instr;
 
 	if (is_sfu(instr)) {
 		ctx->sfu_delay = 8;
@@ -557,8 +550,6 @@ static void
 sched_block(struct ir3_postsched_ctx *ctx, struct ir3_block *block)
 {
 	ctx->block = block;
-	ctx->scheduled = NULL;
-	ctx->pred = NULL;
 
 	/* move all instructions to the unscheduled list, and
 	 * empty the block's instruction list (to which we will



More information about the mesa-commit mailing list