From 76229bc1281ffeb356d2cd9f1021da4b032c883f Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 23 Oct 2010 17:10:24 +0000 Subject: SmallVectorize. llvm-svn: 117213 --- llvm/lib/Transforms/InstCombine/InstructionCombining.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/lib/Transforms/InstCombine') diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp index 47519fbaef9..de409d1ccee 100644 --- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp @@ -1032,10 +1032,8 @@ static bool AddReachableCodeToWorklist(BasicBlock *BB, bool MadeIRChange = false; SmallVector Worklist; Worklist.push_back(BB); - - std::vector InstrsForInstCombineWorklist; - InstrsForInstCombineWorklist.reserve(128); + SmallVector InstrsForInstCombineWorklist; SmallPtrSet FoldedConstants; do { -- cgit v1.2.3