diff options
author | Rui Ueyama <ruiu@google.com> | 2017-05-24 18:22:27 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-05-24 18:22:27 +0000 |
commit | 466c82b74f72c6b122e97a3a4c903c173045ef08 (patch) | |
tree | 6f018641c5558ac4f65fac1b0c158a6b91112e10 /llvm/lib/Support/Mutex.cpp | |
parent | f70a913e13ed943d5913a405c6830cdde6b9aa90 (diff) | |
download | bcm5719-llvm-466c82b74f72c6b122e97a3a4c903c173045ef08.tar.gz bcm5719-llvm-466c82b74f72c6b122e97a3a4c903c173045ef08.zip |
Simplify a variable type by using StringRef instead of CachedHashStringRef.
A variable `ComdatGroup` is not supposed to contain a large number of
items. Even when linking clang, it ends up having only 300K strings.
It doesn't make sense to use CachedHashStringRef for this hash table.
This patch has neutral or slightly positive impact on performance while
reducing code complexity.
llvm-svn: 303787
Diffstat (limited to 'llvm/lib/Support/Mutex.cpp')
0 files changed, 0 insertions, 0 deletions