Fix a couple of typos.

llvm-svn: 161437
This commit is contained in:
Jakob Stoklund Olesen 2012-08-07 18:32:57 +00:00
parent 438bc30c3d
commit 8836660866
2 changed files with 2 additions and 2 deletions

View File

@ -929,7 +929,7 @@ computeInstrHeights(const MachineBasicBlock *MBB) {
if (TBI.Succ) {
for (MachineBasicBlock::const_iterator
I = TBI.Succ->begin(), E = TBI.Succ->end();
I != E && !I->isPHI(); ++I) {
I != E && I->isPHI(); ++I) {
const MachineInstr *PHI = I;
Deps.clear();
getPHIDeps(PHI, Deps, MBB, MTM.MRI);

View File

@ -219,7 +219,7 @@ public:
return TBI.InstrDepth + TBI.InstrHeight;
}
/// Return the resource dpeth of the top/bottom of the trace center block.
/// Return the resource depth of the top/bottom of the trace center block.
/// This is the number of cycles required to execute all instructions from
/// the trace head to the trace center block. The resource depth only
/// considers execution resources, it ignores data dependencies.