From 866793109e471a5ed6cf2aa3ef519d830a184e11 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Tue, 25 Jun 2013 13:34:40 +0000 Subject: 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 --- llvm/lib/Analysis/BlockFrequencyInfo.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/lib/Analysis/BlockFrequencyInfo.cpp') diff --git a/llvm/lib/Analysis/BlockFrequencyInfo.cpp b/llvm/lib/Analysis/BlockFrequencyInfo.cpp index 100e5c8ae7d..8469556f64c 100644 --- a/llvm/lib/Analysis/BlockFrequencyInfo.cpp +++ b/llvm/lib/Analysis/BlockFrequencyInfo.cpp @@ -53,11 +53,6 @@ void BlockFrequencyInfo::print(raw_ostream &O, const Module *) const { if (BFI) BFI->print(O); } -/// 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 BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { return BFI->getBlockFreq(BB); } -- cgit v1.2.3