forked from OSchip/llvm-project
Change a std::vector to SmallVector in NewGVN
llvm-svn: 290596
This commit is contained in:
parent
17c630a09c
commit
1f31fe529e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue