forked from OSchip/llvm-project
Make a std::vector a SmallVector<*, 32> like the other vectors in the same
function. This seems to be about a 1.5% speedup of -scalarrepl on test-suite with SPEC2000 and SPEC2006. llvm-svn: 123731
This commit is contained in:
parent
ecd5b9abe9
commit
6968c41ac8
|
@ -723,7 +723,7 @@ void PromoteMem2Reg::DetermineInsertionPoint(AllocaInst *AI, unsigned AllocaNum,
|
|||
PQ.push(std::make_pair(Node, DomLevels[Node]));
|
||||
}
|
||||
|
||||
std::vector<std::pair<unsigned, BasicBlock*> > DFBlocks;
|
||||
SmallVector<std::pair<unsigned, BasicBlock*>, 32> DFBlocks;
|
||||
SmallPtrSet<DomTreeNode*, 32> Visited;
|
||||
SmallVector<DomTreeNode*, 32> Worklist;
|
||||
while (!PQ.empty()) {
|
||||
|
|
Loading…
Reference in New Issue