1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Convert two std::vectors to SmallVectors for a 3.4% speedup running -scalarrepl

on test-suite + SPEC2000 & SPEC2006.

llvm-svn: 124068
This commit is contained in:
Cameron Zwarich 2011-01-23 08:03:04 +00:00
parent 2e57722d9d
commit 3295a3b4db

View File

@ -282,8 +282,8 @@ namespace {
};
struct AllocaInfo {
std::vector<BasicBlock*> DefiningBlocks;
std::vector<BasicBlock*> UsingBlocks;
SmallVector<BasicBlock*, 32> DefiningBlocks;
SmallVector<BasicBlock*, 32> UsingBlocks;
StoreInst *OnlyStore;
BasicBlock *OnlyBlock;