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 9e0da50 commit 343ae09Copy full SHA for 343ae09
llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
@@ -1071,7 +1071,8 @@ LLVM_DUMP_METHOD void SelectionDAG::dump(bool Sorted) const {
1071
};
1072
1073
if (Sorted) {
1074
- SmallVector<const SDNode *> SortedNodes(AllNodes.size());
+ SmallVector<const SDNode *> SortedNodes;
1075
+ SortedNodes.reserve(AllNodes.size());
1076
getTopologicallyOrderedNodes(SortedNodes);
1077
for (const SDNode *N : SortedNodes)
1078
dumpEachNode(*N);
0 commit comments