diff options
author | Stefanos Baziotis <sdi1600105@di.uoa.gr> | 2020-03-01 19:17:21 +0200 |
---|---|---|
committer | Stefanos Baziotis <sdi1600105@di.uoa.gr> | 2020-03-01 19:17:21 +0200 |
commit | 21390eab4c05e0ed7e7d13ada9e85f62b87ea484 (patch) | |
tree | 459d103398fc9659fb29c2e49cef202ef3084c2b /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | 1079c68aa0fdb14d270a31c0df49a2afc5ed2485 (diff) | |
download | llvm-21390eab4c05e0ed7e7d13ada9e85f62b87ea484.zip llvm-21390eab4c05e0ed7e7d13ada9e85f62b87ea484.tar.gz llvm-21390eab4c05e0ed7e7d13ada9e85f62b87ea484.tar.bz2 |
[ADT][NFC] SCCIterator: Change hasLoop() to hasCycle()
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
-rw-r--r-- | llvm/lib/IR/ModuleSummaryIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/ModuleSummaryIndex.cpp b/llvm/lib/IR/ModuleSummaryIndex.cpp index 13a685e..158369a 100644 --- a/llvm/lib/IR/ModuleSummaryIndex.cpp +++ b/llvm/lib/IR/ModuleSummaryIndex.cpp @@ -300,7 +300,7 @@ void ModuleSummaryIndex::dumpSCCs(raw_ostream &O) { if (V.getSummaryList().size()) F = cast<FunctionSummary>(V.getSummaryList().front().get()); O << " " << (F == nullptr ? "External" : "") << " " << utostr(V.getGUID()) - << (I.hasLoop() ? " (has loop)" : "") << "\n"; + << (I.hasCycle() ? " (has cycle)" : "") << "\n"; } O << "}\n"; } |