diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-11-03 18:13:57 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-11-03 18:13:57 +0000 |
commit | 3d5a02f677262841d951257b928e49d18c460410 (patch) | |
tree | cb589318c6689855bdf6e45ce3cfd6e9932f4e91 /llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | |
parent | 1d8cc909cc1bd6cb2e78d179a2c33b30610215a9 (diff) | |
download | bcm5719-llvm-3d5a02f677262841d951257b928e49d18c460410.tar.gz bcm5719-llvm-3d5a02f677262841d951257b928e49d18c460410.zip |
IR: MDNode => Value: Instruction::getAllMetadataOtherThanDebugLoc()
Change `Instruction::getAllMetadataOtherThanDebugLoc()` from a vector of
`MDNode` to one of `Value`. Part of PR21433.
llvm-svn: 221167
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/LoopVectorize.cpp')
-rw-r--r-- | llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index 17e11724183..f02cf0a55bd 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -531,7 +531,7 @@ static std::string getDebugLocString(const Loop *L) { /// \brief Propagate known metadata from one instruction to another. static void propagateMetadata(Instruction *To, const Instruction *From) { - SmallVector<std::pair<unsigned, MDNode *>, 4> Metadata; + SmallVector<std::pair<unsigned, Value *>, 4> Metadata; From->getAllMetadataOtherThanDebugLoc(Metadata); for (auto M : Metadata) { |