diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-10-03 17:11:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-10-03 17:11:58 +0000 |
commit | 8428cfc93b69728a2017a768a93332934d6fee0d (patch) | |
tree | 35d5b58bb24cd2a12e379f7d96f85ce13ac3f60d /llvm/lib/CodeGen/RegAllocPBQP.cpp | |
parent | a8c424bf616822b8a2e011f7e0ee43bcf7e72137 (diff) | |
download | bcm5719-llvm-8428cfc93b69728a2017a768a93332934d6fee0d.tar.gz bcm5719-llvm-8428cfc93b69728a2017a768a93332934d6fee0d.zip |
Fix typos pointed out by Duncan. Also untabify these files.
llvm-svn: 57018
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocPBQP.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocPBQP.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/RegAllocPBQP.cpp b/llvm/lib/CodeGen/RegAllocPBQP.cpp index 7783766c61e..107d277f4de 100644 --- a/llvm/lib/CodeGen/RegAllocPBQP.cpp +++ b/llvm/lib/CodeGen/RegAllocPBQP.cpp @@ -120,7 +120,7 @@ namespace { PBQPVector* buildCostVector(const Container &allowed, PBQPNum spillCost) const; - //! \brief Builds a PBQP interfernce matrix. + //! \brief Builds a PBQP interference matrix. //! //! @return Either a pointer to a non-zero PBQP matrix representing the //! allocation option costs, or a null pointer for a zero matrix. @@ -142,7 +142,7 @@ namespace { const Container &allowed2, PBQPNum cBenefit) const; - //! \brief Helper functior for constructInitialPBQPProblem(). + //! \brief Helper function for constructInitialPBQPProblem(). //! //! This function iterates over the Function we are about to allocate for //! and computes spill costs. @@ -281,8 +281,8 @@ void PBQPRegAlloc::calcSpillCosts() { assert ((mo.isUse() || mo.isDef()) && "Not a use, not a def, what is it?"); - //... Just the virtual registers. We treat loads and stores as equal. - li->getInterval(moReg).weight += powf(10.0f, loopDepth); + //... Just the virtual registers. We treat loads and stores as equal. + li->getInterval(moReg).weight += powf(10.0f, loopDepth); } } |