mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-07 06:00:16 +02:00
If both the destination and the flags are dead for an AddWithFlags, we need to eliminate it in one pass. If we only replace without elimiating, we would need a second DCE pass to eliminate. We want DCE to finish in one pass, so fix this. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>