diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-11-13 23:59:16 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-11-13 23:59:16 +0000 |
commit | 77349e7aaf32a9214b42e1669e272e51f0fede28 (patch) | |
tree | bb4f2c9cf4465e663b653b4407d1c21077bc990f /llvm/lib/Transforms | |
parent | 01e87d3fe2423640d2f133ffeb150204db50af07 (diff) | |
download | bcm5719-llvm-77349e7aaf32a9214b42e1669e272e51f0fede28.tar.gz bcm5719-llvm-77349e7aaf32a9214b42e1669e272e51f0fede28.zip |
IR: Make MDString::getName() private
Hide the fact that `MDString`'s string is stored in `Value::Name` --
that's going to change soon. Update the only in-tree client that was
using it instead of `Value::getString()`.
Part of PR21532.
llvm-svn: 221951
Diffstat (limited to 'llvm/lib/Transforms')
-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 20e7ce63abf..5681a1e3608 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -1159,7 +1159,7 @@ private: return false; for (auto H : HintTypes) - if (Name->getName().endswith(H.Name)) + if (Name->getString().endswith(H.Name)) return true; return false; } |