summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-09-05 16:49:37 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-09-05 16:49:37 +0000
commit6c2649ca4ee2263a0345b9225de63b68ba082d1a (patch)
tree8663d14e9fa37bb6dc971c72e3c9cd0c684313ea /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent823f9ebaa3c078480e59e418e2385600803b1502 (diff)
downloadbcm5719-llvm-6c2649ca4ee2263a0345b9225de63b68ba082d1a.tar.gz
bcm5719-llvm-6c2649ca4ee2263a0345b9225de63b68ba082d1a.zip
Switch BasicAliasAnalysis' cache to SmallDenseMap.
It relies on clear() being fast and the cache rarely has more than 1 or 2 elements, so give it an inline capacity and always shrink it back down in case it grows. DenseMap will grow to 64 buckets which makes clear() a lot slower. llvm-svn: 163215
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud