summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/OptBisect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/IR/OptBisect.cpp')
-rw-r--r--llvm/lib/IR/OptBisect.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/lib/IR/OptBisect.cpp b/llvm/lib/IR/OptBisect.cpp
index 74eb9e19e9d..e9574ca8126 100644
--- a/llvm/lib/IR/OptBisect.cpp
+++ b/llvm/lib/IR/OptBisect.cpp
@@ -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 &);
OpenPOWER on IntegriCloud