public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103680] Jump threading and switch corrupts profile Date: Wed, 30 Nov 2022 13:04:11 +0000 [thread overview] Message-ID: <bug-103680-4-uYFW1wlAow@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-103680-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>: https://gcc.gnu.org/g:4fa25a7eb322f0a003c1eb15680c71ece345e01e commit r13-4409-g4fa25a7eb322f0a003c1eb15680c71ece345e01e Author: Martin Liska <mliska@suse.cz> Date: Mon Jan 24 15:45:38 2022 +0100 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.
next prev parent reply other threads:[~2022-11-30 13:04 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-13 10:51 [Bug tree-optimization/103680] New: " hubicka at gcc dot gnu.org 2021-12-13 10:55 ` [Bug tree-optimization/103680] " hubicka at gcc dot gnu.org 2021-12-13 12:26 ` marxin at gcc dot gnu.org 2021-12-13 13:56 ` pinskia at gcc dot gnu.org 2022-01-04 9:54 ` rguenth at gcc dot gnu.org 2022-04-09 21:27 ` hubicka at gcc dot gnu.org 2022-11-30 13:04 ` cvs-commit at gcc dot gnu.org [this message] 2023-06-28 9:16 ` hubicka at gcc dot gnu.org 2023-06-28 16:47 ` pinskia at gcc dot gnu.org 2023-06-28 21:30 ` hubicka at gcc dot gnu.org 2023-06-30 16:18 ` hubicka at gcc dot gnu.org 2023-06-30 16:22 ` hubicka at gcc dot gnu.org 2023-07-01 7:11 ` cvs-commit at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-103680-4-uYFW1wlAow@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).