instcombine: Migrate memmove optimizations
authorMeador Inge <meadori@codesourcery.com>
Sun, 11 Nov 2012 06:22:40 +0000 (06:22 +0000)
committerMeador Inge <meadori@codesourcery.com>
Sun, 11 Nov 2012 06:22:40 +0000 (06:22 +0000)
commit9cf328b526ae875054f273ccbf7f4c478277a62e
tree6932f431a029e1b1e2386ce49348944596d85e13
parentdd9234a10ae55a473757d4e2bd5d0351986a2516
instcombine: Migrate memmove optimizations

This patch migrates the memmove optimizations from the simplify-libcalls
pass into the instcombine library call simplifier.

llvm-svn: 167687
llvm/lib/Transforms/Scalar/SimplifyLibCalls.cpp
llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
llvm/test/Transforms/InstCombine/memmove-1.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/memmove-2.ll [new file with mode: 0644]
llvm/test/Transforms/SimplifyLibCalls/memmove.ll [deleted file]