Add missing edge probability in expand_oacc_for
authorTom de Vries <tom@codesourcery.com>
Sun, 6 Aug 2017 09:56:25 +0000 (09:56 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Sun, 6 Aug 2017 09:56:25 +0000 (09:56 +0000)
commitf38057cc118cca4a97eac5c3c5c7c15bee024799
treec90229e1486a50867c66bff04e2d198839d7f365
parent4a6ad0832b154c9beba0bedaa1eba411226b0c7a
Add missing edge probability in expand_oacc_for

 ;;   basic block 10, loop depth 1, freq 0, maybe hot
 ;;    prev block 9, next block 19, flags: (NEW, REACHABLE)
 ;;    pred:       18 (FALSE_VALUE)
 ;;                9 (FALSE_VALUE)
   GIMPLE_NOP
   .chunk_no.7D.1948 = .chunk_no.7D.1948 + 1;
   if (.chunk_no.7D.1948 < .chunk_max.6D.1949)
-    goto <bb 18>; [INV] [count: INV]
+    goto <bb 18>; [80.01%] [count: INV]
   else
-    goto <bb 19>; [100.00%] [count: INV]
+    goto <bb 19>; [19.99%] [count: INV]

2017-08-06  Tom de Vries  <tom@codesourcery.com>

* omp-expand.c (expand_oacc_for): Add missing edge probability for chunk
loop.

From-SVN: r250899
gcc/ChangeLog
gcc/omp-expand.c