We can use the template parameter IsPostDom to pick an appropriate SmallVector size to store DomTree roots for dominators and postdominators. Before, the code would always allocate memory with std::vector.
Details
Details
Diff Detail
Diff Detail
Differential D35636
[Dominators] Change Roots type to SmallVector kuhar on Jul 19 2017, 10:49 AM. Authored by
Details We can use the template parameter IsPostDom to pick an appropriate SmallVector size to store DomTree roots for dominators and postdominators. Before, the code would always allocate memory with std::vector.
Diff Detail |