This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 3/4] Enable clustering for switch statements.
On 06/05/2018 05:59 AM, marxin wrote:
> gcc/ChangeLog:
>
> 2018-06-07 Martin Liska <mliska@suse.cz>
>
> * tree-switch-conversion.c (jump_table_cluster::find_jump_tables):
> New.
> (bit_test_cluster::find_bit_tests): Likewise.
> (switch_decision_tree::analyze_switch_statement): Find clusters.
> * tree-switch-conversion.h (struct jump_table_cluster): Document
> hierarchy.
Needs function comments for the new member functions. OK with those
added once the full set is approved.
Jeff