[PATCH] D39593: [ADCE] Use MapVector for BlockInfo to make iteration order deterministic

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 06:29:01 PDT 2017


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





More information about the llvm-commits mailing list