diff options
author | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-07-18 06:04:43 +0000 |
---|---|---|
committer | Hiroshi Inoue <inouehrs@jp.ibm.com> | 2018-07-18 06:04:43 +0000 |
commit | cd83d459bc4b2fa01425d652fc4259b1e3aac788 (patch) | |
tree | d30f2b802725d00f150baf3bc722cbc47da74e15 /llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp | |
parent | 22e939a15b6d585da0f422ba82ff9ba155779208 (diff) | |
download | bcm5719-llvm-cd83d459bc4b2fa01425d652fc4259b1e3aac788.tar.gz bcm5719-llvm-cd83d459bc4b2fa01425d652fc4259b1e3aac788.zip |
[NFC] fix trivial typos in comments
llvm-svn: 337351
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp b/llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp index 9c2350f0f2f..173fc18b9eb 100644 --- a/llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp +++ b/llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp @@ -67,7 +67,7 @@ static void updatePHIs(MachineBasicBlock *Successor, MachineBasicBlock *OrigMBB, for (unsigned i = 2, e = MI.getNumOperands() + 1; i != e; i += 2) { MachineOperand &MO = MI.getOperand(i); if (MO.getMBB() == OrigMBB) { - // Check if the instruction is actualy defined in NewMBB. + // Check if the instruction is actually defined in NewMBB. if (MI.getOperand(i - 1).isReg()) { MachineInstr *DefMI = MRI->getVRegDef(MI.getOperand(i - 1).getReg()); if (DefMI->getParent() == NewMBB || @@ -152,7 +152,7 @@ static bool splitMBB(BlockSplitInfo &BSI) { if (ThisMBB->succ_size() != 2) { LLVM_DEBUG( dbgs() << "Don't know how to handle blocks that don't have exactly" - << " two succesors.\n"); + << " two successors.\n"); return false; } |