3ce67cb0d9
We would like to reuse the DCE logic to eliminate register writes without eliminating instructions, as a post-sched pass. This type of operation will eventually generalize to intrinsics that write a register *and* have side effects (just atomics, I think). Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8723>