Add comment /NFC

llvm-svn: 278438
This commit is contained in:
Xinliang David Li
2016-08-11 23:09:56 +00:00
parent 6aaeb9b185
commit 1ce88fa0a5

View File

@@ -468,8 +468,9 @@ void AliasSetTracker::copyValue(Value *From, Value *To) {
AliasSet::PointerRec &Entry = getEntryFor(To);
if (Entry.hasAliasSet()) return; // Already in the tracker!
// Add it to the alias set it aliases...
// getEntryFor above may invalidate iterator \c I, so reinitialize it.
I = PointerMap.find_as(From);
// Add it to the alias set it aliases...
AliasSet *AS = I->second->getAliasSet(*this);
AS->addPointer(*this, Entry, I->second->getSize(),
I->second->getAAInfo(),