OSDN Git Service

[PostDom] Fix typo in comment [NFC]
authorTobias Grosser <tobias@grosser.es>
Tue, 1 Aug 2017 11:01:28 +0000 (11:01 +0000)
committerTobias Grosser <tobias@grosser.es>
Tue, 1 Aug 2017 11:01:28 +0000 (11:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309673 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/GenericDomTreeConstruction.h

index 2a7f3f3..412a378 100644 (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;