re PR tree-optimization/91975 (worse code for small array copy using pointer arithmet...
authorRichard Biener <rguenther@suse.de>
Mon, 7 Oct 2019 07:53:45 +0000 (07:53 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 7 Oct 2019 07:53:45 +0000 (07:53 +0000)
commit806bdf4e40d31cf55744c876eb9f17654de36b99
tree6dc6ccd9075dc7a84dfda6fb6ba4c80c1786f6b9
parent3e1f7c33aeaf33ca532fbef745bb4ab1e3b0aa3f
re PR tree-optimization/91975 (worse code for small array copy using pointer arithmetic than array indexing)

2019-10-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91975
* tree-ssa-loop-ivcanon.c (constant_after_peeling): Consistently
handle invariants.

* g++.dg/tree-ssa/ivopts-3.C: Adjust.
* gcc.dg/vect/vect-profile-1.c: Disable cunrolli.
* gcc.dg/vect/vect-double-reduc-6.c: Disable unrolling of
the innermost loop.
* gcc.dg/vect/vect-93.c: Likewise.
* gcc.dg/vect/vect-105.c: Likewise.
* gcc.dg/vect/pr79920.c: Likewise.
* gcc.dg/vect/no-vfa-vect-102.c: Likewise.
* gcc.dg/vect/no-vfa-vect-101.c: Likewise.
* gcc.dg/vect/pr83202-1.c: Operate on a larger array.
* gfortran.dg/vect/vect-8.f90: Likewise.
* gcc.dg/tree-ssa/cunroll-2.c: Scan early unrolling dump instead
of late one.

From-SVN: r276645
14 files changed:
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/ivopts-3.C
gcc/testsuite/gcc.dg/tree-ssa/cunroll-2.c
gcc/testsuite/gcc.dg/vect/no-vfa-vect-101.c
gcc/testsuite/gcc.dg/vect/no-vfa-vect-102.c
gcc/testsuite/gcc.dg/vect/pr79920.c
gcc/testsuite/gcc.dg/vect/pr83202-1.c
gcc/testsuite/gcc.dg/vect/vect-105.c
gcc/testsuite/gcc.dg/vect/vect-93.c
gcc/testsuite/gcc.dg/vect/vect-double-reduc-6.c
gcc/testsuite/gcc.dg/vect/vect-profile-1.c
gcc/testsuite/gfortran.dg/vect/vect-8.f90
gcc/tree-ssa-loop-ivcanon.c