mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-28 23:43:50 +00:00
Increase the size of SpillPlacement::BlockFrequencies.
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
This commit is contained in:
parent
bf5a4c36bc
commit
e4506cddc5
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user