[Bug ipa/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #56 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:3fd5876793ddf882994acafc9c5b28e3be8897bd commit r11-4196-g3fd5876793ddf882994acafc9c5b28e3be8897bd Author: Jan Hubicka Date: Thu O

[Bug ipa/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #55 from Martin Liška --- (In reply to Jan Hubicka from comment #54) > > > It goes from 1 to 1<<63, so each of tests translates to a range. > > > > Yes, but these ranges are very large, nothing for a jump table or a > > bit-test. >

[Bug ipa/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-21 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #54 from Jan Hubicka --- > > It goes from 1 to 1<<63, so each of tests translates to a range. > > Yes, but these ranges are very large, nothing for a jump table or a bit-test. Yep, but theoretically you can recover the decision table

[Bug ipa/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #53 from Martin Liška --- > It goes from 1 to 1<<63, so each of tests translates to a range. Yes, but these ranges are very large, nothing for a jump table or a bit-test.

[Bug ipa/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-21 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #52 from Jan Hubicka --- > I don't see how can if-to-switch conversion pass help us here. It's designed > to > identify compact intervals. In this case we see: > >: > _16 = _2 & 576460752303423488; > if (_16 == 0) > goto

[Bug ipa/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #51 from Martin Liška --- > Martin, how does the if chain conversion behave on the example? I don't see how can if-to-switch conversion pass help us here. It's designed to identify compact intervals. In this case we see: : _16

[Bug ipa/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 --- Comment #50 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:caaa218f912ccf932fdb79243ded68bb462bbe63 commit r11-4192-gcaaa218f912ccf932fdb79243ded68bb462bbe63 Author: Jan Hubicka Date: Wed O

[Bug ipa/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 Jan Hubicka changed: What|Removed |Added Depends on||97519, 97503 --- Comment #49 from Jan Hubi

[Bug ipa/97445] Some fonctions marked static inline in Linux kernel are not inlined

2020-10-21 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97445 Jan Hubicka changed: What|Removed |Added Component|c |ipa --- Comment #48 from Jan Hubicka ---