From 8c8136c7e231e109c8086a58a80a4e96fa58440e Mon Sep 17 00:00:00 2001 From: Alina Sbirlea Date: Mon, 28 Jan 2019 19:38:03 +0000 Subject: [PATCH] [AliasSetTracker] Cleanup more comments. [NFCI] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352416 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/AliasSetTracker.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/Analysis/AliasSetTracker.cpp b/lib/Analysis/AliasSetTracker.cpp index de223043010..6b4240c108d 100644 --- a/lib/Analysis/AliasSetTracker.cpp +++ b/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); } } -- 2.50.1