diff options
author | Erico Nunes <nunes.erico@gmail.com> | 2021-03-16 23:37:40 +0100 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-03-25 14:17:26 +0000 |
commit | 2b83d9953862a1b042707bdfa496a3270e90166f (patch) | |
tree | 92e6176cabb7f83553d195f113b31c23ed3a424c /src/gallium/drivers/lima/ir/pp/ppir.h | |
parent | 55b1dbb1c1682c422e6fb890c99b21be47918b43 (diff) | |
download | mesa-2b83d9953862a1b042707bdfa496a3270e90166f.tar.gz |
lima/ppir: remove use of live_out
The live_out set was serving mostly as a temporary storage of data
propagated from the next instructions.
If we do an early copy to preserve the instruction live_in set and
propagate the liveness information directly to the live_in set, we can
skip having a live_out set entirely.
Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9745>
Diffstat (limited to 'src/gallium/drivers/lima/ir/pp/ppir.h')
-rw-r--r-- | src/gallium/drivers/lima/ir/pp/ppir.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/lima/ir/pp/ppir.h b/src/gallium/drivers/lima/ir/pp/ppir.h index fd8864812ff..00f792aa472 100644 --- a/src/gallium/drivers/lima/ir/pp/ppir.h +++ b/src/gallium/drivers/lima/ir/pp/ppir.h @@ -327,12 +327,10 @@ typedef struct ppir_instr { /* for liveness analysis */ struct ppir_liveness *live_in; - struct ppir_liveness *live_out; /* live_internal is to mark registers only live within an * instruction, without propagation */ struct ppir_liveness *live_internal; struct set *live_in_set; - struct set *live_out_set; struct set *live_internal_set; } ppir_instr; |