diff options
author | Tom de Vries <tom@codesourcery.com> | 2017-08-04 07:27:05 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2017-08-04 07:27:05 +0000 |
commit | 54cb4e20069f00f96ad2b6249cb68295a61a1786 (patch) | |
tree | 6929c721defce86705af92688565a7060d243a40 /gcc/tree-vect-data-refs.c | |
parent | 07cf14668f69b343a67de1cab79bb0edbed1fc2a (diff) | |
download | gcc-54cb4e20069f00f96ad2b6249cb68295a61a1786.zip gcc-54cb4e20069f00f96ad2b6249cb68295a61a1786.tar.gz gcc-54cb4e20069f00f96ad2b6249cb68295a61a1786.tar.bz2 |
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.
From-SVN: r250865
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
0 files changed, 0 insertions, 0 deletions