[Bug tree-optimization/88763] Better Output for Loop Unswitching

2021-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-10 Thread marius.messerschmidt at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #12 from Marius Messerschmidt --- I think this messages look really good! I believe that this contains everything required to actually work on improving automatic unswitching, thank you very much! Do you think that there is a chance

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-10 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #11 from David Malcolm --- Thanks for the testcase. (In reply to David Malcolm from comment #10) > Created attachment 45406 [details] > Followup patch to try to dump why a condition can't be unswitched within a > loop This is a foll

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-10 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #10 from David Malcolm --- Created attachment 45406 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45406&action=edit Followup patch to try to dump why a condition can't be unswitched within a loop

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-09 Thread marius.messerschmidt at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #9 from Marius Messerschmidt --- Created attachment 45397 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45397&action=edit Basic testcase As there where some more issues in the example I provided, I added it as an attachment. N

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-09 Thread marius.messerschmidt at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #8 from Marius Messerschmidt --- Oh minor error from my side, the "BAD LINE" should of course be above the if/return block otherwise it would work just fine.

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-09 Thread marius.messerschmidt at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #7 from Marius Messerschmidt --- Thanks a lot for working on this! A simple example would be the following: -- CODE --- int calc(int x, int y, int *flag) { if(flag > 5) return x + y; els

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #6 from David Malcolm --- Candidate patch for porting to the dump_* API: https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00512.html

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #5 from David Malcolm --- Marius: do you have a simple testcase which demonstrates an area where the log could be improved? [I'm testing a patch right now which ports things to the dump_* API, and thus should make the existing dump m

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #4 from David Malcolm --- (In reply to Marius Messerschmidt from comment #3) > Sorry but I do not fully understand what you mean. Do you suggest using > different command line arguments? I believe Richard is referring to the internal

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-09 Thread marius.messerschmidt at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #3 from Marius Messerschmidt --- Sorry but I do not fully understand what you mean. Do you suggest using different command line arguments? So far I tried: -fdump-tree-all -fdump-tree-unswitch and -fopt-info-all-optall But none of

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-09 Thread marius.messerschmidt at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #2 from Marius Messerschmidt --- Sorry but I do not fully understand what you mean. Do you suggest using different command line arguments? So far I tried: -fdump-tree-all -fdump-tree-unswitch and -fopt-info-all-optall But none of

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|