[llvm] r350597 - Fix typos
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 7 17:25:47 PST 2019
Author: arsenm
Date: Mon Jan 7 17:25:47 2019
New Revision: 350597
URL: http://llvm.org/viewvc/llvm-project?rev=350597&view=rev
Log:
Fix typos
Modified:
llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp
Modified: llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp?rev=350597&r1=350596&r2=350597&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp (original)
+++ llvm/trunk/lib/CodeGen/GlobalISel/RegBankSelect.cpp Mon Jan 7 17:25:47 2019
@@ -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
bool RegBankSelect::applyMapping(
MachineInstr &MI, const RegisterBankInfo::InstructionMapping &InstrMapping,
SmallVectorImpl<RegBankSelect::RepairingPlacement> &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.
More information about the llvm-commits
mailing list