OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67b7ff9
)
Convert vector to smallvector: 4% speedup.
author
Chris Lattner
<sabre@nondot.org>
Wed, 16 Aug 2006 22:12:48 +0000
(22:12 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 16 Aug 2006 22:12:48 +0000
(22:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29735
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/ScheduleDAG.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/ScheduleDAG.h
b/include/llvm/CodeGen/ScheduleDAG.h
index
dbf5328
..
ed6ccd0
100644
(file)
--- 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<SDNode*> FlaggedNodes;
// All nodes flagged to Node.
+
SmallVector<SDNode*,4> 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.