From: Hans Wennborg Date: Mon, 11 Aug 2014 02:21:30 +0000 (+0000) Subject: Increase the size of SpillPlacement::BlockFrequencies. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=e4506cddc5564633c6fc87c2df4bccbac0391bfc 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 --- 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.