From: Davide Italiano Date: Sat, 31 Oct 2015 08:28:10 +0000 (+0000) Subject: [SimplifyLibCalls] Remove dead code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e798009f10f783f955c1db5b4cc59571c9efd8e4;p=oota-llvm.git [SimplifyLibCalls] Remove dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251737 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/SimplifyLibCalls.cpp b/lib/Transforms/Utils/SimplifyLibCalls.cpp index 338f9a433ee..798bc5df6db 100644 --- a/lib/Transforms/Utils/SimplifyLibCalls.cpp +++ b/lib/Transforms/Utils/SimplifyLibCalls.cpp @@ -2207,12 +2207,6 @@ void LibCallSimplifier::replaceAllUsesWith(Instruction *I, Value *With) { Replacer(I, With); } -/*static*/ void LibCallSimplifier::replaceAllUsesWithDefault(Instruction *I, - Value *With) { - I->replaceAllUsesWith(With); - I->eraseFromParent(); -} - // TODO: // Additional cases that we need to add to this file: //