Removing unused function.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 22 Apr 2016 22:24:20 +0000 (22:24 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 22 Apr 2016 22:24:20 +0000 (22:24 +0000)
llvm-svn: 267236

llvm/lib/IR/OptBisect.cpp

index 74eb9e1..e9574ca 100644 (file)
@@ -85,21 +85,6 @@ static std::string getDescription(const CallGraphSCC &SCC) {
   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 &);