GNU Tools Cauldron 2025

GNU Tools Cauldron 2025

Developing a dead code elimination pass with RTL SSA
2025-09-28 , Auditorium B002 (170)

The RTL SSA framework is a relatively new component of GCC that enables SSA-based analysis on RTL. In this talk, I will present a dead code elimination (DCE) implementation built on top of this framework, intended to replace the existing UD-chain based DCE.


For my bachelor’s thesis, I implemented a dead code elimination (DCE) pass using the RTL SSA framework in GCC. This talk aims to explain the SSA based DCE algorithm in detail, outline key aspects of the implementation and highlight the challenges and decisions encountered during development.

See also: