diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-06-25 13:34:40 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-06-25 13:34:40 +0000 |
| commit | 866793109e471a5ed6cf2aa3ef519d830a184e11 (patch) | |
| tree | 1d8dcf5db3925e44f65b27c2f9fd8ddbd9ddfecc /llvm/lib/CodeGen | |
| parent | ad873cdb2b3df2518db4fc6908945a91c8daaf2c (diff) | |
| download | bcm5719-llvm-866793109e471a5ed6cf2aa3ef519d830a184e11.tar.gz bcm5719-llvm-866793109e471a5ed6cf2aa3ef519d830a184e11.zip | |
BlockFrequency: Bump up the entry frequency a bit.
This is a band-aid to fix the most severe regressions we're seeing from basing
spill decisions on block frequencies, until we have a better solution.
llvm-svn: 184835
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp b/llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp index 070daf2e2ba..e269d24e1d5 100644 --- a/llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp +++ b/llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp @@ -50,11 +50,6 @@ bool MachineBlockFrequencyInfo::runOnMachineFunction(MachineFunction &F) { return false; } -/// getblockFreq - Return block frequency. Return 0 if we don't have the -/// information. Please note that initial frequency is equal to 1024. It means -/// that we should not rely on the value itself, but only on the comparison to -/// the other block frequencies. We do this to avoid using of floating points. -/// BlockFrequency MachineBlockFrequencyInfo:: getBlockFreq(const MachineBasicBlock *MBB) const { return MBFI->getBlockFreq(MBB); |

