summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2019-03-08 19:28:55 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2019-03-08 19:28:55 +0000
commit4ea679f1f4780096870438ac65545dce0dc929a3 (patch)
treed6f12c2e6d45c6b0c6114a35f057dae9bdb8dacd
parent72ec6801b5b26eb4083b815206ad0f76ab702c95 (diff)
downloadbcm5719-llvm-4ea679f1f4780096870438ac65545dce0dc929a3.tar.gz
bcm5719-llvm-4ea679f1f4780096870438ac65545dce0dc929a3.zip
[CFLAnders] Fix typo in comment; NFC
Patch by Enna1! Differential Revision: https://reviews.llvm.org/D58756 llvm-svn: 355715
-rw-r--r--llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp b/llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp
index 2af64e81f2a..e73ae5a1b9b 100644
--- a/llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp
+++ b/llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp
@@ -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);
OpenPOWER on IntegriCloud