r262212 - in /trunk/gcc: ChangeLog tree-switch-...
marxin@gcc.gnu.org
marxin@gcc.gnu.org
Thu Jun 28 07:15:00 GMT 2018
Author: marxin
Date: Thu Jun 28 07:15:55 2018
New Revision: 262212
URL: https://gcc.gnu.org/viewcvs?rev=262212&root=gcc&view=rev
Log:
Come up with jump_table ratio constants used in jump_table_cluster.
2018-06-28 Martin Liska <mliska@suse.cz>
* tree-switch-conversion.c (jump_table_cluster::can_be_handled):
Use newly introduced constants.
* tree-switch-conversion.h (struct jump_table_cluster):
Define max_ratio_for_size and max_ratio_for_speed.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-switch-conversion.c
trunk/gcc/tree-switch-conversion.h
More information about the Gcc-cvs
mailing list