[CFLAnders] Fix typo in comment; NFC
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Fri, 8 Mar 2019 19:28:55 +0000 (19:28 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Fri, 8 Mar 2019 19:28:55 +0000 (19:28 +0000)
Patch by Enna1!

Differential Revision: https://reviews.llvm.org/D58756

llvm-svn: 355715

llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp

index 2af64e8..e73ae5a 100644 (file)
@@ -612,7 +612,7 @@ static void initializeWorkList(std::vector<WorkListItem> &WorkList,
     for (unsigned I = 0, E = ValueInfo.getNumLevels(); I < E; ++I) {
       auto Src = InstantiatedValue{Val, I};
       // If there's an assignment edge from X to Y, it means Y is reachable from
-      // X at S2 and X is reachable from Y at S1
+      // X at S3 and X is reachable from Y at S1
       for (auto &Edge : ValueInfo.getNodeInfoAtLevel(I).Edges) {
         propagate(Edge.Other, Src, MatchState::FlowFromReadOnly, ReachSet,
                   WorkList);