[PATCH] D74801: [ADT][NFC] SCCIterator: Change hasLoop() to hasCycle()
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 18 15:34:28 PST 2020
lebedev.ri added inline comments.
================
Comment at: llvm/tools/opt/PrintSCC.cpp:82-83
errs() << (*I)->getName() << ", ";
- if (nextSCC.size() == 1 && SCCI.hasLoop())
- errs() << " (Has self-loop).";
+ if (nextSCC.size() == 1 && SCCI.hasCycle())
+ errs() << " (Has self-cycle).";
}
----------------
err, i was specifically talking about this
================
Comment at: llvm/tools/opt/PrintSCC.cpp:104-105
: "external node") << ", ";
- if (nextSCC.size() == 1 && SCCI.hasLoop())
- errs() << " (Has self-loop).";
+ if (nextSCC.size() == 1 && SCCI.hasCycle())
+ errs() << " (Has self-cycle).";
}
----------------
And this
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74801/new/
https://reviews.llvm.org/D74801
More information about the cfe-commits
mailing list