instcombine: Migrate memset optimizations
authorMeador Inge <meadori@codesourcery.com>
Sun, 11 Nov 2012 06:49:03 +0000 (06:49 +0000)
committerMeador Inge <meadori@codesourcery.com>
Sun, 11 Nov 2012 06:49:03 +0000 (06:49 +0000)
commit26ebe398f2bddae5395b4ad8c7ffb5933b2230d1
tree56510c6353092b9bbc76e8bafc74a028720e5000
parentd324c48e5595235996aa2ddb08a331913f2037fd
instcombine: Migrate memset optimizations

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167689 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/memset-1.ll [new file with mode: 0644]
test/Transforms/InstCombine/memset-2.ll [new file with mode: 0644]
test/Transforms/SimplifyLibCalls/memset-64.ll [deleted file]
test/Transforms/SimplifyLibCalls/memset.ll [deleted file]