re PR tree-optimization/78348 ([7 REGRESSION] 15% performance drop for coremark-pro...
authorRichard Biener <rguenther@suse.de>
Wed, 16 Nov 2016 08:42:20 +0000 (08:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 16 Nov 2016 08:42:20 +0000 (08:42 +0000)
commit510d73a0350e946becdf316b130a7197809124f6
tree76050ac73f5409a11f1f258016acdc03026af8ac
parent1705cebd79f24bc85dab766a9a26390827f26fa0
re PR tree-optimization/78348 ([7 REGRESSION] 15% performance drop for coremark-pro/nnet-test after r242038)

2016-11-16  Richard Biener  <rguenther@suse.de>

PR tree-optimization/78348
* tree-loop-distribution.c (enum partition_kind): Add PKIND_MEMMOVE.
(generate_memcpy_builtin): Honor PKIND_MEMCPY on the partition.
(classify_partition): Set PKIND_MEMCPY if dependence analysis
revealed no dependency, PKIND_MEMMOVE otherwise.

* gcc.dg/tree-ssa/ldist-24.c: New testcase.

From-SVN: r242470
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-24.c [new file with mode: 0644]
gcc/tree-loop-distribution.c