summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-08-11 02:21:30 +0000
committerHans Wennborg <hans@hanshq.net>2014-08-11 02:21:30 +0000
commit12b996da8841285648af545b19c9e04756414651 (patch)
tree51e5bbdeea052440f815a84216e8ada7bfd85bb8 /llvm/lib/CodeGen
parentedee29c101ca67f4308b8f784f9c9daa46ba0af4 (diff)
downloadbcm5719-llvm-12b996da8841285648af545b19c9e04756414651.tar.gz
bcm5719-llvm-12b996da8841285648af545b19c9e04756414651.zip
Increase the size of SpillPlacement::BlockFrequencies.
This SmallVector's median size during a Clang build was 7. llvm-svn: 215338
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SpillPlacement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SpillPlacement.h b/llvm/lib/CodeGen/SpillPlacement.h
index 43fc7f50cef..e43e95e62a1 100644
--- a/llvm/lib/CodeGen/SpillPlacement.h
+++ b/llvm/lib/CodeGen/SpillPlacement.h
@@ -40,7 +40,7 @@ class MachineBasicBlock;
class MachineLoopInfo;
class MachineBlockFrequencyInfo;
-class SpillPlacement : public MachineFunctionPass {
+class SpillPlacement : public MachineFunctionPass {
struct Node;
const MachineFunction *MF;
const EdgeBundles *bundles;
@@ -60,7 +60,7 @@ class SpillPlacement : public MachineFunctionPass {
SmallVector<unsigned, 8> RecentPositive;
// Block frequencies are computed once. Indexed by block number.
- SmallVector<BlockFrequency, 4> BlockFrequencies;
+ SmallVector<BlockFrequency, 8> BlockFrequencies;
public:
static char ID; // Pass identification, replacement for typeid.
OpenPOWER on IntegriCloud