projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af0902
)
Increase the size of this SmallVector in PeepholeOptimizer.
author
Hans Wennborg
<hans@hanshq.net>
Mon, 11 Aug 2014 02:21:34 +0000
(
02:21
+0000)
committer
Hans Wennborg
<hans@hanshq.net>
Mon, 11 Aug 2014 02:21:34 +0000
(
02:21
+0000)
During a Clang build, the median size of this was 9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215340
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PeepholeOptimizer.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PeepholeOptimizer.cpp
b/lib/CodeGen/PeepholeOptimizer.cpp
index 768fcf72146c1dfabd3f4ea5e4918bdb39a84729..0062b642ebad3cc5c861ba7f56fb6ce941395541 100644
(file)
--- a/
lib/CodeGen/PeepholeOptimizer.cpp
+++ b/
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;