diff options
author | Martin Liska <mliska@suse.cz> | 2018-08-27 14:18:24 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2018-08-27 12:18:24 +0000 |
commit | 377afcd5beb350a1b7cd07b0a868a766345073e0 (patch) | |
tree | cbc9beace64c77f4308af6ab49a52a1edc6b67a1 /gcc/ada/gcc-interface/utils.c | |
parent | dbdfaaba50c5d7d85c1e64751988d00114fd7d6b (diff) | |
download | gcc-377afcd5beb350a1b7cd07b0a868a766345073e0.zip gcc-377afcd5beb350a1b7cd07b0a868a766345073e0.tar.gz gcc-377afcd5beb350a1b7cd07b0a868a766345073e0.tar.bz2 |
Fix probability for bit-tests.
2018-08-27 Martin Liska <mliska@suse.cz>
* tree-switch-conversion.c (bit_test_cluster::find_bit_tests):
Add new argument to bit_test_cluster constructor.
(bit_test_cluster::emit): Set bits really number of values
handlel by a test.
(bit_test_cluster::hoist_edge_and_branch_if_true): Add
probability argument.
* tree-switch-conversion.h (struct bit_test_cluster):
Add m_handles_entire_switch.
2018-08-27 Martin Liska <mliska@suse.cz>
* gcc.dg/tree-ssa/switch-2.c: New test.
From-SVN: r263878
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions