IndexedMap: Default to SmallVector<T, 0>
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Feb 2015 20:15:07 +0000 (20:15 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 28 Feb 2015 20:15:07 +0000 (20:15 +0000)
commitce770dda2cd5c629e67bd90889481a2c8c48d43a
treea3671f04e6e8b1e61ccde5bb4ac3de4de1fde3ef
parentf4cff31d3c076f943b38b8bc330ce614e33851ce
IndexedMap: Default to SmallVector<T, 0>

This looks ridiculous but SmallVector's realloc tricks really help with
large vectors of PODs, such as our virtreg IndexedMap.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230866 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/IndexedMap.h