[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2025-01-02 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Alex Coplan changed: What|Removed |Added CC||acoplan at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-07-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #12 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:02460c0b8c9000359a09440f9532664a7835f158 commit r14-2228-g02460c0b8c9000359a09440f9532664a7835f158 Author: Jan Hubicka Date: Sat

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-06-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #11 from Jan Hubicka --- The following are passes affecting mismatches for tramp3d -O3 build: 107t cunrolli | 85 +77 110t forwprop | 87+2 113t fre |151 +64 115t threadfull

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-06-30 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #10 from Jan Hubicka --- I am testing: diff --git a/gcc/cfg.cc b/gcc/cfg.cc index 897ef534ff5..defdf679f7b 100644 --- a/gcc/cfg.cc +++ b/gcc/cfg.cc @@ -922,7 +922,6 @@ update_bb_profile_for_threading (basic_block bb, fprintf

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-06-28 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #9 from Jan Hubicka --- bug 25623 comment #1 is different since __builtin_abort makes initial guessed profile inconsistent with the correlated conditionals. That is reason why I added explicit __builtin_expect_with_probability to ma

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-06-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Andrew Pinski changed: What|Removed |Added Depends on||25623 --- Comment #8 from Andrew Pinski

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2023-06-28 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Jan Hubicka changed: What|Removed |Added Last reconfirmed||2023-06-28 Status|UNCONFIRMED

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2022-11-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:4fa25a7eb322f0a003c1eb15680c71ece345e01e commit r13-4409-g4fa25a7eb322f0a003c1eb15680c71ece345e01e Author: Martin Liska Date: Mon

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2022-04-09 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #5 from Jan Hubicka --- The cfgcleanup logic is consistent assuming that your profile was consistent on the input (i.e. read from profile feedback). If you 1) read profile 2) do optimization and prove that given if conditional is

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2022-01-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 --- Comment #4 from Richard Biener --- And for CFG cleanup there's no profile updating done when passes leave CFG update to it by simplifying conditions to if (0) or if (1). One could argue that "late" simplifications simply make the guessed pr

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2021-12-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2021-12-13 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Martin Liška changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/103680] Jump threading and switch corrupts profile

2021-12-13 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103680 Jan Hubicka changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,