[llvm] r268929 - fix spelling; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Mon May 9 09:07:45 PDT 2016
Author: spatel
Date: Mon May 9 11:07:45 2016
New Revision: 268929
URL: http://llvm.org/viewvc/llvm-project?rev=268929&view=rev
Log:
fix spelling; NFC
Modified:
llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp
Modified: llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp?rev=268929&r1=268928&r2=268929&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp (original)
+++ llvm/trunk/lib/Analysis/BlockFrequencyInfoImpl.cpp Mon May 9 11:07:45 2016
@@ -350,7 +350,7 @@ void BlockFrequencyInfoImplBase::compute
// 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::compute
// 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"
More information about the llvm-commits
mailing list