instcombine: Migrate strto* optimizations
authorMeador Inge <meadori@codesourcery.com>
Wed, 31 Oct 2012 14:58:26 +0000 (14:58 +0000)
committerMeador Inge <meadori@codesourcery.com>
Wed, 31 Oct 2012 14:58:26 +0000 (14:58 +0000)
commite0f1dca1c8c191db3b353b60142a574c2d1c2a54
tree48de2a48d1def1a4030a5f986d7714b089adebc0
parent28578661385dc165ffe5171f2b9dad26f0a13cf9
instcombine: Migrate strto* optimizations

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167119 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/strto-1.ll [new file with mode: 0644]
test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll [deleted file]