aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/Compiler.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-08-29 22:57:04 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-08-29 22:57:04 +0000
commite160c53fbef056a3f121eeebcb7074f780bfae52 (patch)
tree71175b4a2127d16fab4ab8cfe906a418062c0e68 /include/llvm/Support/Compiler.h
parent55907d1274ce715b92d584e305e0708e333a33c0 (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