[llvm] r267236 - Removing unused function.
Andrew Kaylor via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 22 15:24:20 PDT 2016
Author: akaylor
Date: Fri Apr 22 17:24:20 2016
New Revision: 267236
URL: http://llvm.org/viewvc/llvm-project?rev=267236&view=rev
Log:
Removing unused function.
Modified:
llvm/trunk/lib/IR/OptBisect.cpp
Modified: llvm/trunk/lib/IR/OptBisect.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/OptBisect.cpp?rev=267236&r1=267235&r2=267236&view=diff
==============================================================================
--- llvm/trunk/lib/IR/OptBisect.cpp (original)
+++ llvm/trunk/lib/IR/OptBisect.cpp Fri Apr 22 17:24:20 2016
@@ -85,21 +85,6 @@ static std::string getDescription(const
return Desc;
}
-static std::string getDescription(const LazyCallGraph::SCC &SCC) {
- std::string Desc = "SCC (";
- bool First = true;
- for (LazyCallGraph::Node &CGN : SCC) {
- if (First)
- First = false;
- else
- Desc += ", ";
- Function &F = CGN.getFunction();
- Desc += F.getName();
- }
- Desc += ")";
- return Desc;
-}
-
// Force instantiations.
template bool OptBisect::shouldRunPass(const Pass *, const Module &);
template bool OptBisect::shouldRunPass(const Pass *, const Function &);
More information about the llvm-commits
mailing list