diff --git a/.pick_status.json b/.pick_status.json index f703c4f25fb..8802b293b1e 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1134,7 +1134,7 @@ "description": "panfrost: Make instrs_equal check res table/index", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/panfrost/compiler/bi_opt_cse.c b/src/panfrost/compiler/bi_opt_cse.c index 16f27cb802b..2ef5a14d11c 100644 --- a/src/panfrost/compiler/bi_opt_cse.c +++ b/src/panfrost/compiler/bi_opt_cse.c @@ -117,6 +117,12 @@ instrs_equal(const void *_i1, const void *_i2) return false; } + if (i1->table != i2->table) + return false; + + if (i1->index != i2->index) + return false; + return true; }