aco: Don't DCE instructions that write non-temps, eg. exec.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 25 Nov 2020 18:53:51 +0000 (19:53 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 28 May 2021 12:14:53 +0000 (12:14 +0000)
commit4491b94d58e474b479dd5e0db772dbf30d292548
treed70162b63f764c58fc1e5071bb3024e3f04bd0f3
parent3542afbdd038bb3d6a7ade9a455a3034105db4ff
aco: Don't DCE instructions that write non-temps, eg. exec.

No Fossil DB changes.
This commit makes DCE usable after RA.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7779>
src/amd/compiler/aco_dead_code_analysis.cpp