From 9522ee3d93cb15ebcfd80200fea42378cc510d21 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 16 Aug 2006 22:12:48 +0000 Subject: [PATCH] Convert vector to smallvector: 4% speedup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29735 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/ScheduleDAG.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/ScheduleDAG.h b/include/llvm/CodeGen/ScheduleDAG.h index dbf532818be..ed6ccd0a641 100644 --- a/include/llvm/CodeGen/ScheduleDAG.h +++ b/include/llvm/CodeGen/ScheduleDAG.h @@ -78,7 +78,7 @@ namespace llvm { /// a group of nodes flagged together. struct SUnit { SDNode *Node; // Representative node. - std::vector FlaggedNodes; // All nodes flagged to Node. + SmallVector FlaggedNodes;// All nodes flagged to Node. // Preds/Succs - The SUnits before/after us in the graph. The boolean value // is true if the edge is a token chain edge, false if it is a value edge.