public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/88361] gcc does not unroll loop
       [not found] <bug-88361-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-27  4:41 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; only message in thread
From: pinskia at gcc dot gnu.org @ 2021-12-27  4:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---

 is executed at most 19 (bounded by 19) + 1 times in loop 1.
Analyzing # of iterations of loop 1
  exit condition [19, + , 4294967295] != 0
  bounds on difference of bases: -19 ... -19
  result:
    # of iterations 19, bounded by 19
Loop 1 iterates 19 times.
Loop 1 iterates at most 19 times.
Loop 1 likely iterates at most 19 times.
Not unrolling loop 1 (--param max-completely-peel-times limit reached).

Increasing the param allows the loop to be unrolled.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-27  4:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-88361-4@http.gcc.gnu.org/bugzilla/>
2021-12-27  4:41 ` [Bug tree-optimization/88361] gcc does not unroll loop 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).