[SimplifyLibCalls] Remove dead code.
authorDavide Italiano <davide@freebsd.org>
Sat, 31 Oct 2015 08:28:10 +0000 (08:28 +0000)
committerDavide Italiano <davide@freebsd.org>
Sat, 31 Oct 2015 08:28:10 +0000 (08:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251737 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/SimplifyLibCalls.cpp

index 338f9a433ee25cd4a44511759b3cb5351d277aaf..798bc5df6dbbf03416bffe089b645cb3779d418c 100644 (file)
@@ -2207,12 +2207,6 @@ void LibCallSimplifier::replaceAllUsesWith(Instruction *I, Value *With) {
   Replacer(I, 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:
 //
 // TODO:
 //   Additional cases that we need to add to this file:
 //