On 10/4/26 5:55 AM, Aldy Hernandez wrote:
Some of the local functions in dom should really live in
dom_opt_dom_walker, to avoid passing so much state around.  Do so in
order to make my subsequent patches cleaner.

OK?

gcc/ChangeLog:

        * tree-ssa-dom.cc (record_equivalences_from_incoming_edge): Make a
        member of dom_opt_dom_walker and use its tables.
        (eliminate_redundant_computations): Same.
        (record_equivalences_from_stmt): Same.
        (dom_opt_dom_walker::before_dom_children): Adjust the calls.
        (dom_opt_dom_walker::optimize_stmt): Same.
---
OK

Jeff

Reply via email to