instcombine: Migrate fprintf optimizations
authorMeador Inge <meadori@codesourcery.com>
Thu, 29 Nov 2012 15:45:33 +0000 (15:45 +0000)
committerMeador Inge <meadori@codesourcery.com>
Thu, 29 Nov 2012 15:45:33 +0000 (15:45 +0000)
commit28d52913ab0cda3fa21a4b16ad87fea4321b5e7e
tree238f03cb0515b23998ada0e2ae5bf3ba49ba6587
parent2aac38541708f37f9ddc5b2d3047b68835484a23
instcombine: Migrate fprintf optimizations

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

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