This SmallVector's median size during a Clang build was 7.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215338
91177308-0d34-0410-b5e6-
96231b3b80d8
class MachineLoopInfo;
class MachineBlockFrequencyInfo;
class MachineLoopInfo;
class MachineBlockFrequencyInfo;
-class SpillPlacement : public MachineFunctionPass {
+class SpillPlacement : public MachineFunctionPass {
struct Node;
const MachineFunction *MF;
const EdgeBundles *bundles;
struct Node;
const MachineFunction *MF;
const EdgeBundles *bundles;
SmallVector<unsigned, 8> RecentPositive;
// Block frequencies are computed once. Indexed by block number.
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.
public:
static char ID; // Pass identification, replacement for typeid.