LoopVectorize: Remove unnecessary RAUW
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 3 Dec 2014 05:41:20 +0000 (05:41 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 3 Dec 2014 05:41:20 +0000 (05:41 +0000)
commita48bd07e5e5553c100e6e203cd4c2b22752a0e39
tree402cd43fa081036f58c004e4932ed1e67a6442f2
parent53ac6a04eb2e212ef7446400ef9af323cc0902b0
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
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp