mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Convert vector to smallvector: 4% speedup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29735 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67b7ff9ede
commit
9522ee3d93
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user