commit | a53fe6070cae7d2feccb542b8ba24b37d3fdd027 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Sat Oct 23 17:10:24 2010 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Sat Oct 23 17:10:24 2010 +0000 |
tree | 44a7b9bee3e3560e0600ce2588ec4f57ff44aaa3 | |
parent | a4633f5d7458f4d04e4bf89be48d3b14e1fae044 [diff] [blame] |
SmallVectorize. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117213 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp index 47519fb..de409d1 100644 --- a/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -1032,10 +1032,8 @@ bool MadeIRChange = false; SmallVector<BasicBlock*, 256> Worklist; Worklist.push_back(BB); - - std::vector<Instruction*> InstrsForInstCombineWorklist; - InstrsForInstCombineWorklist.reserve(128); + SmallVector<Instruction*, 128> InstrsForInstCombineWorklist; SmallPtrSet<ConstantExpr*, 64> FoldedConstants; do {