[PATCH] D57931: [GISel]: While constructing the GISelWorklist make sure we reserve at least the required size to the underlying dense map.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 7 16:52:48 PST 2019
arsenm added a comment.
LGTM
================
Comment at: include/llvm/CodeGen/GlobalISel/GISelWorkList.h:32
class GISelWorkList {
SmallVector<MachineInstr *, N> Worklist;
DenseMap<MachineInstr *, unsigned> WorklistMap;
----------------
If this matters, should this even be a SmallVector?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57931/new/
https://reviews.llvm.org/D57931
More information about the llvm-commits
mailing list