kuhar added inline comments. ================ Comment at: include/llvm/ADT/MapVector.h:62 + void reserve(size_type NumEntries) { + Vector.reserve(NumEntries); + } ---------------- Shouldn't this reserve `Map` as well? https://reviews.llvm.org/D39593