commit | bef5d7af6bc8cf89cabdd1e7a8107ade423a594a | [log] [tgz] |
---|---|---|
author | Mehdi Amini <mehdi.amini@apple.com> | Sat Mar 19 01:02:34 2016 +0000 |
committer | Mehdi Amini <mehdi.amini@apple.com> | Sat Mar 19 01:02:34 2016 +0000 |
tree | f27f8f8319a6f2757f82198843272749f1f3b84d | |
parent | 343753f293ed6021a3ca13b8affcdf14c8439b59 [diff] |
Hash Metadata using pointer for MDString argument instead of value (NFC) MDString are uniqued in the Context on creation, hashing the pointer is less expensive than hashing the String itself. Reviewers: dexonsmith Differential Revision: http://reviews.llvm.org/D16560 From: Mehdi Amini <mehdi.amini@apple.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263867 91177308-0d34-0410-b5e6-96231b3b80d8