diff options
author | Alina Sbirlea <asbirlea@google.com> | 2019-01-28 19:38:03 +0000 |
---|---|---|
committer | Alina Sbirlea <asbirlea@google.com> | 2019-01-28 19:38:03 +0000 |
commit | 8e1d65771ab8d67a82a9e2819669456f53a38c39 (patch) | |
tree | d22ca1a0d635242735235baee7d93f0353b5031b /llvm/lib/Analysis/AliasSetTracker.cpp | |
parent | b4980cd84f4c80f7c6b505972390c56ea34a0ac8 (diff) | |
download | bcm5719-llvm-8e1d65771ab8d67a82a9e2819669456f53a38c39.tar.gz bcm5719-llvm-8e1d65771ab8d67a82a9e2819669456f53a38c39.zip |
[AliasSetTracker] Cleanup more comments. [NFCI]
llvm-svn: 352416
Diffstat (limited to 'llvm/lib/Analysis/AliasSetTracker.cpp')
-rw-r--r-- | llvm/lib/Analysis/AliasSetTracker.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/AliasSetTracker.cpp b/llvm/lib/Analysis/AliasSetTracker.cpp index de223043010..6b4240c108d 100644 --- a/llvm/lib/Analysis/AliasSetTracker.cpp +++ b/llvm/lib/Analysis/AliasSetTracker.cpp @@ -301,10 +301,12 @@ AliasSet *AliasSetTracker::mergeAliasSetsForPointer(const Value *Ptr, iterator Cur = I++; if (Cur->Forward || !Cur->aliasesPointer(Ptr, Size, AAInfo, AA)) continue; - if (!FoundSet) { // If this is the first alias set ptr can go into. - FoundSet = &*Cur; // Remember it. - } else { // Otherwise, we must merge the sets. - FoundSet->mergeSetIn(*Cur, *this); // Merge in contents. + if (!FoundSet) { + // If this is the first alias set ptr can go into, remember it. + FoundSet = &*Cur; + } else { + // Otherwise, we must merge the sets. + FoundSet->mergeSetIn(*Cur, *this); } } |