2016-11-16 Richard Biener <rguenther@suse.de>
commit5d4e24096ea636b5dce94b0e9e30ab82b8fdee77
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Nov 2016 08:42:20 +0000 (16 08:42 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Nov 2016 08:42:20 +0000 (16 08:42 +0000)
tree76050ac73f5409a11f1f258016acdc03026af8ac
parent221900427cddb27fc4ff171aa51dea7cdb4012b7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242470 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-24.c [new file with mode: 0644]
gcc/tree-loop-distribution.c