diff options
author | Reid Kleckner <rnk@google.com> | 2016-01-26 02:06:41 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-01-26 02:06:41 +0000 |
commit | 0b5220d0aa4bc1a162e74ac11507ba7b75e0b635 (patch) | |
tree | 8817bfe169c2588253f6852a023be4bdd9c546ef /clang/lib/Basic/Builtins.cpp | |
parent | 3a9952c9e7d0633d13b55cefb76872afd6136097 (diff) | |
download | llvm-0b5220d0aa4bc1a162e74ac11507ba7b75e0b635.zip llvm-0b5220d0aa4bc1a162e74ac11507ba7b75e0b635.tar.gz llvm-0b5220d0aa4bc1a162e74ac11507ba7b75e0b635.tar.bz2 |
Use binary search for intrinsic ID lookups
This improves compile time of Function.cpp from 57s to 37s for me
locally. Intrinsic IDs are cached on the Function object, so this
shouldn't regress performance.
llvm-svn: 258774
Diffstat (limited to 'clang/lib/Basic/Builtins.cpp')
0 files changed, 0 insertions, 0 deletions