]> granicus.if.org Git - llvm/commitdiff
[AliasSetTracker] Cleanup more comments. [NFCI]
authorAlina Sbirlea <asbirlea@google.com>
Mon, 28 Jan 2019 19:38:03 +0000 (19:38 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Mon, 28 Jan 2019 19:38:03 +0000 (19:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352416 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/AliasSetTracker.cpp

index de223043010f78a02624b39607da9ff94cc21659..6b4240c108d78978ecea7e6d19cb0ae0ac4c70a1 100644 (file)
@@ -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);
     }
   }