LoopVectorize: Remove unnecessary RAUW

Remove an unnecessary `MDNode::replaceAllUsesWith()`.  In the preceding
line, `TheLoop->setLoopID()` visits all backedges and sets the new loop
ID.  This sufficiently updates the loop metadata.

Metadata RAUW is going away as part of PR21532.

llvm-svn: 223210
This commit is contained in:
Duncan P. N. Exon Smith 2014-12-03 05:41:20 +00:00
parent 53ac6a04eb
commit a48bd07e5e
1 changed files with 0 additions and 2 deletions

View File

@ -1194,8 +1194,6 @@ private:
NewLoopID->replaceOperandWith(0, NewLoopID);
TheLoop->setLoopID(NewLoopID);
if (LoopID)
LoopID->replaceAllUsesWith(NewLoopID);
LoopID = NewLoopID;
}