instcombine: Migrate toascii optimizations
authorMeador Inge <meadori@codesourcery.com>
Mon, 26 Nov 2012 03:38:52 +0000 (03:38 +0000)
committerMeador Inge <meadori@codesourcery.com>
Mon, 26 Nov 2012 03:38:52 +0000 (03:38 +0000)
commit38c4441797a9c90dee830d9b90491742ff83d42c
tree44e6aaa0c2baeb387af9cbcf93bb3daa80ba588d
parent017bb750ab99b2ca54771fc86a6b2fed4ad90eec
instcombine: Migrate toascii optimizations

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

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