diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-29 22:57:04 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-08-29 22:57:04 +0000 |
commit | e160c53fbef056a3f121eeebcb7074f780bfae52 (patch) | |
tree | 71175b4a2127d16fab4ab8cfe906a418062c0e68 /include/llvm/Support/Compiler.h | |
parent | 55907d1274ce715b92d584e305e0708e333a33c0 (diff) |
Add some __builtin_expect magic to StringMap.
Tombstones and full hash collisions are rare, mark the "empty"
and "no collision" paths as likely. The bug in simplifycfg
that prevented the hints from being picked during selfhost
up was fixed recently :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Compiler.h')
0 files changed, 0 insertions, 0 deletions