On 5/26/2026 8:22 AM, Robin Dapp wrote:
> From: Robin Dapp <[email protected]>
>
> This adds dependent-filter handling to ira in a similar way register
> filters where added.  The actual querying of the filter is partially
> routed to the lra routines introduced before.
>
> gcc/ChangeLog:
>
>       * ira-build.cc (ira_create_allocno): Initialize dependent
>       filters.
>       (copy_dependent_filters): New function to copy filters.
>       (create_cap_allocno): Use new function.
>       (propagate_allocno_info): Ditto.
>       (propagate_some_info_from_allocno): Ditto.
>       * ira-color.cc (ira_dependent_filter): New function that
>       calls lra_get_dependent_filter.
>       (assign_hard_reg): Use new function.
>       (improve_allocation): Ditto.
>       (fast_allocation): Ditto.
>       * ira-conflicts.cc (dependent_filter_same_reg_ok_p): New
>       function to check if a dependent filter allows the same reg.
>       (can_use_same_reg_p): Use new function.
>       * ira-int.h (struct ira_dependent_filter): New struct holding
>       allocno-specific dependent-filter properties.
>       (ALLOCNO_DEPENDENT_FILTERS): New accessor.
>       (ira_add_dependent_filter): Declare.
>       * ira-lives.cc (ira_add_dependent_filter): New function.
>       (process_dependent_filters): New function.
>       (process_bb_node_lives): Call new function.
>       * ira.cc (ira): Reset filters.
I don't really see anything concerning in here.

Jeff

Reply via email to