From 4ea679f1f4780096870438ac65545dce0dc929a3 Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Fri, 8 Mar 2019 19:28:55 +0000 Subject: [PATCH] [CFLAnders] Fix typo in comment; NFC Patch by Enna1! Differential Revision: https://reviews.llvm.org/D58756 llvm-svn: 355715 --- llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp b/llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp index 2af64e8..e73ae5a 100644 --- a/llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp +++ b/llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp @@ -612,7 +612,7 @@ static void initializeWorkList(std::vector &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); -- 2.7.4