mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-25 16:58:10 +02:00
pan/bifrost: Make CSE independent of liveliness labels
CSE should not depend on liveliness analysis. When the pass runs the only possible liveliness analysis that is run is on the bi_validate path, having a dependency only makes our validated runs different (and slower) than the unvalidated runs. Signed-off-by: Lorenzo Rossi <lorenzo.rossi@collabora.com> Found-by: Ryan Zhang <ryan.zhang@nxp.com> Reviewed-by: Ryan Zhang <ryan.zhang@nxp.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41504>
This commit is contained in:
parent
0a4b7f69c1
commit
5fd3f27406
1 changed files with 3 additions and 0 deletions
|
|
@ -84,6 +84,9 @@ instrs_equal(const void *_i1, const void *_i2)
|
|||
bi_foreach_src(i1, s) {
|
||||
bi_index s1 = i1->src[s], s2 = i2->src[s];
|
||||
|
||||
/* kill_ssa is a liveness annotation, not part of instruction semantics */
|
||||
s1.kill_ssa = s2.kill_ssa = false;
|
||||
|
||||
if (memcmp(&s1, &s2, sizeof(s1)) != 0)
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue