From: Matt Arsenault Date: Tue, 8 Jan 2019 01:25:47 +0000 (+0000) Subject: Fix typos X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f47b71ebb3c6f4a5c9d2f6f2331841063f3a63a;p=llvm Fix typos git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350597 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/GlobalISel/RegBankSelect.cpp b/lib/CodeGen/GlobalISel/RegBankSelect.cpp index bfd7a68a8b0..b1e371dacd2 100644 --- a/lib/CodeGen/GlobalISel/RegBankSelect.cpp +++ b/lib/CodeGen/GlobalISel/RegBankSelect.cpp @@ -115,7 +115,7 @@ bool RegBankSelect::assignmentMatch( // By default we assume we will have to repair something. OnlyAssign = false; // Each part of a break down needs to end up in a different register. - // In other word, Reg assignement does not match. + // In other word, Reg assignment does not match. if (ValMapping.NumBreakDowns != 1) return false; @@ -528,7 +528,7 @@ RegBankSelect::MappingCost RegBankSelect::computeMapping( bool RegBankSelect::applyMapping( MachineInstr &MI, const RegisterBankInfo::InstructionMapping &InstrMapping, SmallVectorImpl &RepairPts) { - // OpdMapper will hold all the information needed for the rewritting. + // OpdMapper will hold all the information needed for the rewriting. RegisterBankInfo::OperandsMapper OpdMapper(MI, InstrMapping, *MRI); // First, place the repairing code.