[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

2021-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543 --- Comment #6 from Andrew Pinski --- As I mentioned in PR 87987: So I think LLVM's unrolling notices the load will become constant and the whole induction variable basically goes away for sum. I also said something similar in

[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543 Andrew Pinski changed: What|Removed |Added CC||lh_mouse at 126 dot com --- Comment #5

[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

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

[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

2021-12-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

2018-10-08 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543 --- Comment #2 from Eyal Rozenberg --- (In reply to Richard Biener from comment #1) > The issue at -O2 is etc. That is one issue, but there is the question of the changes in behavior between versions and when `-march` is used. I don't know if

[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

2018-10-08 Thread eyalroz at technion dot ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543 --- Comment #2 from Eyal Rozenberg --- (In reply to Richard Biener from comment #1) > The issue at -O2 is etc. That is one issue, but there is the question of the changes in behavior between versions and when `-march` is used. I don't know if

[Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop

2018-10-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|