This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/65511] New: transform_to_exit_first_loop
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 22 Mar 2015 09:53:19 +0000
- Subject: [Bug tree-optimization/65511] New: transform_to_exit_first_loop
- Auto-submitted: auto-generated
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)
...