r250865 - in /trunk/gcc: ChangeLog omp-simd-clo...

vries@gcc.gnu.org vries@gcc.gnu.org
Fri Aug 4 07:27:00 GMT 2017


Author: vries
Date: Fri Aug  4 07:27:05 2017
New Revision: 250865

URL: https://gcc.gnu.org/viewcvs?rev=250865&root=gcc&view=rev
Log:
Add missing edge probability in simd_clone_adjust

Currently we generate an if with probability set on only one of the two edges:
  <bb 5> [0.00%] [count: INV]:
  _5 = mask.3[iter.6_3];
  if (_5 == 0)
    goto <bb 6>; [INV] [count: INV]
  else
    goto <bb 2>; [100.00%] [count: INV]

Add the missing edge probability, and set the split to unlikely/likely:
  if (_5 == 0)
    goto <bb 6>; [19.99%] [count: INV]
  else
    goto <bb 2>; [80.01%] [count: INV]

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

	* omp-simd-clone.c (simd_clone_adjust): Add missing edge probability.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/omp-simd-clone.c



More information about the Gcc-cvs mailing list