Come up with jump_table ratio constants used in jump_table_cluster.
commit749f0ae15ca22139d09d1501541ab56df8c9d3ec
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2018 07:15:55 +0000 (28 07:15 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 Jun 2018 07:15:55 +0000 (28 07:15 +0000)
tree8dca8402123e02905bfcf087e6c8f2397112c5be
parent69bfc5d88103ff6325e1ac741218c2d3babf841f
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262212 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-switch-conversion.c
gcc/tree-switch-conversion.h