[PATCH] PR78241, fix loop unroller when niter expr is not reliable
Richard Biener
richard.guenther@gmail.com
Thu Nov 10 10:36:00 GMT 2016
On Wed, Nov 9, 2016 at 11:13 PM, Pat Haugen <pthaugen@linux.vnet.ibm.com> wrote:
> The following fixes a problem introduced by my earlier loop unroller patch, https://gcc.gnu.org/ml/gcc-patches/2016-09/msg01612.html. In instances where the niter expr is not reliable we need to still emit an initial peel copy of the loop.
>
> Bootstrap/regtest on powerpc64le with no new regressions. Ok for trunk?
Ok.
Richard.
> -Pat
>
>
> 2016-11-09 Pat Haugen <pthaugen@us.ibm.com>
>
> PR rtl-optimization/78241
> * loop-unroll.c (unroll_loop_runtime_iterations): Don't adjust 'niter', but
> emit initial peel copy if niter expr is not reliable.
>
>
> testsuite/ChangeLog:
> 2016-11-09 Pat Haugen <pthaugen@us.ibm.com>
>
> * gcc.dg/pr78241.c: New test.
>
>
More information about the Gcc-patches
mailing list