We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7714544 commit 2347838Copy full SHA for 2347838
llvm/tools/llvm-mca/Views/BottleneckAnalysis.h
@@ -228,6 +228,9 @@ class DependencyGraph {
228
unsigned Depth;
229
230
DependencyEdge CriticalPredecessor;
231
+ // Measurements show that more than 90% of nodes have no outgoing edges. To
232
+ // minimize memory consumption we use SmallVector with zero inline elements
233
+ // that is preferred version of std::vector.
234
SmallVector<DependencyEdge, 0> OutgoingEdges;
235
};
236
SmallVector<DGNode, 16> Nodes;
0 commit comments