Change a std::vector to SmallVector in NewGVN

llvm-svn: 290596
This commit is contained in:
Daniel Berlin 2016-12-27 09:20:36 +00:00
parent 17c630a09c
commit 1f31fe529e
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class NewGVN : public FunctionPass {
// DFS info.
DenseMap<const BasicBlock *, std::pair<int, int>> DFSDomMap;
DenseMap<const Value *, unsigned> InstrDFS;
std::vector<Value *> DFSToInstr;
SmallVector<Value *, 32> DFSToInstr;
// Deletion info.
SmallPtrSet<Instruction *, 8> InstructionsToErase;