summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocGreedy.cpp
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-12-14 02:37:38 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-12-14 02:37:38 +0000
commit523823b89724cb574c4e899556ae22b239b3daa5 (patch)
tree55edcbd8f86df09c6be505fee698ccebf9ae5123 /lib/CodeGen/RegAllocGreedy.cpp
parentb68ca3e9c5791db9da07b7767a8ee915a104e99a (diff)
downloadllvm-523823b89724cb574c4e899556ae22b239b3daa5.tar.gz
llvm-523823b89724cb574c4e899556ae22b239b3daa5.tar.bz2
llvm-523823b89724cb574c4e899556ae22b239b3daa5.tar.xz
[block-freq] Rename getEntryFrequency() -> getEntryFreq() to match getBlockFreq() in all *BlockFrequencyInfo*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp
index 4590145a1c..ca9573138c 100644
--- a/lib/CodeGen/RegAllocGreedy.cpp
+++ b/lib/CodeGen/RegAllocGreedy.cpp
@@ -1591,7 +1591,7 @@ unsigned RAGreedy::tryLocalSplit(LiveInterval &VirtReg, AllocationOrder &Order,
const float blockFreq =
SpillPlacer->getBlockFrequency(BI.MBB->getNumber()).getFrequency() *
- (1.0f / MBFI->getEntryFrequency());
+ (1.0f / MBFI->getEntryFreq());
SmallVector<float, 8> GapWeight;
Order.rewind();