summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-11 02:21:34 +0000
committerHans Wennborg <hans@hanshq.net>2014-08-11 02:21:34 +0000
commit5b439f9c8a2ebc0cbfe18832efb234b0c5ded944 (patch)
tree71ebe5fe1341e32755a3ef7f85072147b97d1e8d /llvm/lib/CodeGen
parent4fa2fd12caac7b017d47cd33b1b5d5eeb3ea41c4 (diff)
downloadbcm5719-llvm-5b439f9c8a2ebc0cbfe18832efb234b0c5ded944.tar.gz
bcm5719-llvm-5b439f9c8a2ebc0cbfe18832efb234b0c5ded944.zip
Increase the size of this SmallVector in PeepholeOptimizer.
During a Clang build, the median size of this was 9 llvm-svn: 215340
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PeepholeOptimizer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/PeepholeOptimizer.cpp b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
index 768fcf72146..0062b642eba 100644
--- a/llvm/lib/CodeGen/PeepholeOptimizer.cpp
+++ b/llvm/lib/CodeGen/PeepholeOptimizer.cpp
@@ -687,7 +687,7 @@ bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) {
MachineBasicBlock *MBB = &*I;
bool SeenMoveImm = false;
- SmallPtrSet<MachineInstr*, 8> LocalMIs;
+ SmallPtrSet<MachineInstr*, 16> LocalMIs;
SmallSet<unsigned, 4> ImmDefRegs;
DenseMap<unsigned, MachineInstr*> ImmDefMIs;
SmallSet<unsigned, 16> FoldAsLoadDefCandidates;
OpenPOWER on IntegriCloud