summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.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
commit5e985ee5b56b0d74496a1f0773a29bac0e89b4f4 (patch)
treea08eb5e3d79a9d54dd945c1e532a31475c61d0fe /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parentfb9164f0d2f7cc51ef3952d98a367b53a53f2870 (diff)
downloadbcm5719-llvm-5e985ee5b56b0d74496a1f0773a29bac0e89b4f4.tar.gz
bcm5719-llvm-5e985ee5b56b0d74496a1f0773a29bac0e89b4f4.zip
[block-freq] Rename getEntryFrequency() -> getEntryFreq() to match getBlockFreq() in all *BlockFrequencyInfo*.
llvm-svn: 197304
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 778ba4a5b95..4329ffc015b 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -625,7 +625,7 @@ LiveIntervals::getSpillWeight(bool isDef, bool isUse,
const MachineBlockFrequencyInfo *MBFI,
const MachineInstr *MI) {
BlockFrequency Freq = MBFI->getBlockFreq(MI->getParent());
- const float Scale = 1.0f / MBFI->getEntryFrequency();
+ const float Scale = 1.0f / MBFI->getEntryFreq();
return (isDef + isUse) * (Freq.getFrequency() * Scale);
}
OpenPOWER on IntegriCloud