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)
commit5ed8a767a02c5f687c04f8cee8a948e8402091e7
treecea1c7605d44476d647f3a62c407dde32b793462
parenta4ec31ed5280e8f4700fc099c0f68c74dbfc98cf
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223210 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Vectorize/LoopVectorize.cpp