diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-05-09 16:07:45 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-05-09 16:07:45 +0000 |
commit | 0fb9880bf56f9fc24ad8a9a28a5be94a85d5147e (patch) | |
tree | 8a10a2eb7d0938356b8c232edc24aad65bd596ae /llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp | |
parent | 108823bc355e985c11655fc21bb27c48b6e3473b (diff) | |
download | bcm5719-llvm-0fb9880bf56f9fc24ad8a9a28a5be94a85d5147e.tar.gz bcm5719-llvm-0fb9880bf56f9fc24ad8a9a28a5be94a85d5147e.zip |
fix spelling; NFC
llvm-svn: 268929
Diffstat (limited to 'llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp')
-rw-r--r-- | llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp b/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp index 566142ecff7..fba82076ac2 100644 --- a/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp +++ b/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp @@ -350,7 +350,7 @@ void BlockFrequencyInfoImplBase::computeLoopScale(LoopData &Loop) { // replaced to be the maximum of all computed scales plus 1. This would // appropriately describe the loop as having a large scale, without skewing // the final frequency computation. - const Scaled64 InifiniteLoopScale(1, 12); + const Scaled64 InfiniteLoopScale(1, 12); // LoopScale == 1 / ExitMass // ExitMass == HeadMass - BackedgeMass @@ -363,7 +363,7 @@ void BlockFrequencyInfoImplBase::computeLoopScale(LoopData &Loop) { // its exit mass will be zero. In this case, use an arbitrary scale for the // loop scale. Loop.Scale = - ExitMass.isEmpty() ? InifiniteLoopScale : ExitMass.toScaled().inverse(); + ExitMass.isEmpty() ? InfiniteLoopScale : ExitMass.toScaled().inverse(); DEBUG(dbgs() << " - exit-mass = " << ExitMass << " (" << BlockMass::getFull() << " - " << TotalBackedgeMass << ")\n" |