From e4506cddc5564633c6fc87c2df4bccbac0391bfc Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Mon, 11 Aug 2014 02:21:30 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SpillPlacement.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/CodeGen/SpillPlacement.h b/lib/CodeGen/SpillPlacement.h index 43fc7f50cef..e43e95e62a1 100644 --- a/lib/CodeGen/SpillPlacement.h +++ b/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 RecentPositive; // Block frequencies are computed once. Indexed by block number. - SmallVector BlockFrequencies; + SmallVector BlockFrequencies; public: static char ID; // Pass identification, replacement for typeid. -- 2.40.0