Increase the size of SpillPlacement::BlockFrequencies.

This SmallVector's median size during a Clang build was 7.

llvm-svn: 215338
This commit is contained in:
Hans Wennborg 2014-08-11 02:21:30 +00:00
parent edee29c101
commit 12b996da88
1 changed files with 2 additions and 2 deletions

View File

@ -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.