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:
parent
2e57722d9d
commit
3295a3b4db
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user