mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-03-01 11:18:42 +00:00

Flag DCE needs to do general DCE anyway to converge in one pass. So we can move the special syscall/atomic logic over to flag DCE and then drop the second DCE pass altogether. Now local dead code of both is eliminated in a single pass. Flag DCE is carefully written to converge in a single iteration which makes this scheme work. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>