enhance memcpy opt to turn memmoves into memcpy when the src/dest
authorChris Lattner <sabre@nondot.org>
Tue, 1 Sep 2009 17:56:32 +0000 (17:56 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Sep 2009 17:56:32 +0000 (17:56 +0000)
commitf41eaacee4a4a2d4339dd553626d98c73650c8c7
treef8d379b48bf4fb692542a3f52545e959820d5538
parentc517cb006553320875544f39655c3299124be3ea
enhance memcpy opt to turn memmoves into memcpy when the src/dest
don't alias.  Remove an old and poorly reduced testcase that fails
with this transform for reasons unrelated to the original test.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80693 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/MemCpyOptimizer.cpp
test/Transforms/MemCpyOpt/2008-06-01-MemCpy-MemMove.ll [deleted file]
test/Transforms/MemCpyOpt/memmove.ll [new file with mode: 0644]