diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-12-14 02:37:38 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-12-14 02:37:38 +0000 |
commit | 523823b89724cb574c4e899556ae22b239b3daa5 (patch) | |
tree | 55edcbd8f86df09c6be505fee698ccebf9ae5123 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | b68ca3e9c5791db9da07b7767a8ee915a104e99a (diff) | |
download | llvm-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/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 778ba4a5b9..4329ffc015 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/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); } |