public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop
       [not found] <bug-87543-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-13  1:17 ` pinskia at gcc dot gnu.org
  2021-12-13  1:18 ` pinskia at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-13  1:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop
       [not found] <bug-87543-4@http.gcc.gnu.org/bugzilla/>
  2021-12-13  1:17 ` [Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop pinskia at gcc dot gnu.org
@ 2021-12-13  1:18 ` pinskia at gcc dot gnu.org
  2021-12-17  4:29 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-13  1:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=97077

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
PR 97077 has a similar issue.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop
       [not found] <bug-87543-4@http.gcc.gnu.org/bugzilla/>
  2021-12-13  1:17 ` [Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop pinskia at gcc dot gnu.org
  2021-12-13  1:18 ` pinskia at gcc dot gnu.org
@ 2021-12-17  4:29 ` pinskia at gcc dot gnu.org
  2021-12-17  4:34 ` pinskia at gcc dot gnu.org
  2021-12-27  4:11 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-17  4:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lh_mouse at 126 dot com

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 87987 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop
       [not found] <bug-87543-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-12-17  4:29 ` pinskia at gcc dot gnu.org
@ 2021-12-17  4:34 ` pinskia at gcc dot gnu.org
  2021-12-27  4:11 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-17  4:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97077#c3 too.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop
       [not found] <bug-87543-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2021-12-17  4:34 ` pinskia at gcc dot gnu.org
@ 2021-12-27  4:11 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-27  4:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87543

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 85747.

*** This bug has been marked as a duplicate of bug 85747 ***

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-27  4:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-87543-4@http.gcc.gnu.org/bugzilla/>
2021-12-13  1:17 ` [Bug tree-optimization/87543] Inconsistency in noticing a constant result rather than emitting code for a loop pinskia at gcc dot gnu.org
2021-12-13  1:18 ` pinskia at gcc dot gnu.org
2021-12-17  4:29 ` pinskia at gcc dot gnu.org
2021-12-17  4:34 ` pinskia at gcc dot gnu.org
2021-12-27  4:11 ` pinskia at gcc dot gnu.org

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).