[PostDom] Fix typo in comment [NFC]

llvm-svn: 309673
This commit is contained in:
Tobias Grosser 2017-08-01 11:01:28 +00:00
parent 4aae2d2719
commit a5516eec2b

View File

@ -151,7 +151,7 @@ struct SemiNCAInfo {
for (const NodePtr Succ : ChildrenGetter<NodePtr, IsPostDom>::Get(BB)) {
const auto SIT = NodeToInfo.find(Succ);
// Don't visit nodes more than once but remember to collect
// RerverseChildren.
// ReverseChildren.
if (SIT != NodeToInfo.end() && SIT->second.DFSNum != 0) {
if (Succ != BB) SIT->second.ReverseChildren.push_back(BB);
continue;