diff options
Diffstat (limited to 'lib/Target/PowerPC/PPCReduceCRLogicals.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCReduceCRLogicals.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCReduceCRLogicals.cpp b/lib/Target/PowerPC/PPCReduceCRLogicals.cpp index d6d948e9e1e..9c2350f0f2f 100644 --- a/lib/Target/PowerPC/PPCReduceCRLogicals.cpp +++ b/lib/Target/PowerPC/PPCReduceCRLogicals.cpp @@ -91,7 +91,7 @@ static void addIncomingValuesToPHIs(MachineBasicBlock *Successor, MachineBasicBlock *NewMBB, MachineRegisterInfo *MRI) { assert(OrigMBB->isSuccessor(NewMBB) && - "NewMBB must be a sucessor of OrigMBB"); + "NewMBB must be a successor of OrigMBB"); for (auto &MI : Successor->instrs()) { if (!MI.isPHI()) continue; @@ -501,7 +501,7 @@ PPCReduceCRLogicals::createCRLogicalOpInfo(MachineInstr &MIParam) { return Ret; } -/// Looks trhough a COPY instruction to the actual definition of the CR-bit +/// Looks through a COPY instruction to the actual definition of the CR-bit /// register and returns the instruction that defines it. /// FIXME: This currently handles what is by-far the most common case: /// an instruction that defines a CR field followed by a single copy of a bit @@ -699,7 +699,7 @@ void PPCReduceCRLogicals::collectCRLogicals() { } } -} // end annonymous namespace +} // end anonymous namespace INITIALIZE_PASS_BEGIN(PPCReduceCRLogicals, DEBUG_TYPE, "PowerPC Reduce CR logical Operation", false, false) |