aboutsummaryrefslogtreecommitdiff
path: root/libgcc/unwind-compat.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-01-24 15:45:38 +0100
committerMartin Liska <mliska@suse.cz>2022-11-30 14:03:43 +0100
commit4fa25a7eb322f0a003c1eb15680c71ece345e01e (patch)
tree52b4d065f5870abbf4215efc517ef2aacb84cbb0 /libgcc/unwind-compat.c
parentb628cad9e093f7a33042fb9dd647f183394eefae (diff)
downloadgcc-4fa25a7eb322f0a003c1eb15680c71ece345e01e.zip
gcc-4fa25a7eb322f0a003c1eb15680c71ece345e01e.tar.gz
gcc-4fa25a7eb322f0a003c1eb15680c71ece345e01e.tar.bz2
Improve profile handling in switch lowering.
PR tree-optimization/101301 PR tree-optimization/103680 gcc/ChangeLog: * tree-switch-conversion.cc (bit_test_cluster::emit): Handle correctly remaining probability. (switch_decision_tree::try_switch_expansion): Fix BB's count where a cluster expansion happens. (switch_decision_tree::emit_cmp_and_jump_insns): Fill up also BB count. (switch_decision_tree::do_jump_if_equal): Likewise. (switch_decision_tree::emit_case_nodes): Handle special case for BT expansion which can also fallback to a default BB. * tree-switch-conversion.h (cluster::cluster): Add m_default_prob probability.
Diffstat (limited to 'libgcc/unwind-compat.c')
0 files changed, 0 insertions, 0 deletions