This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/65511] New: transform_to_exit_first_loop


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

            Bug ID: 65511
           Summary: transform_to_exit_first_loop
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vries at gcc dot gnu.org

before transform_to_exit_first_loop the loop backedge/exit edge probabilities
are 99/1:
...
  if (i.0_21 < n_5(D))
    goto <bb 9>;
  else
    goto <bb 6>;
;;    succ:       9 [99.0%]  (TRUE_VALUE,EXECUTABLE)
;;                6 [1.0%]  (FALSE_VALUE,EXECUTABLE)
...

afterwards, they are 100/0:
...
  # ivtmp_25 = PHI <0(11), ivtmp_23(7)>
  if (ivtmp_25 < _12)
    goto <bb 13>;
  else
    goto <bb 14>;
;;    succ:       13 [100.0%]  (TRUE_VALUE,EXECUTABLE)
;;                14 (FALSE_VALUE,EXECUTABLE)
...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]