diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Scalar/NewGVN.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/NewGVN.cpp b/llvm/lib/Transforms/Scalar/NewGVN.cpp index 096a4ae4162..285d8e65aea 100644 --- a/llvm/lib/Transforms/Scalar/NewGVN.cpp +++ b/llvm/lib/Transforms/Scalar/NewGVN.cpp @@ -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; |