]> granicus.if.org Git - llvm/commitdiff
Fix spelling mistakes in MIPS target comments. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 18 Nov 2016 11:53:36 +0000 (11:53 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 18 Nov 2016 11:53:36 +0000 (11:53 +0000)
Identified by Pedro Giffuni in PR27636.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287338 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/Disassembler/MipsDisassembler.cpp
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/Mips/MipsMachineFunction.cpp

index c5a259b8ccff9525e688b458a68c6159464683c5..f80efb18507b1e0d479864157f68568756831640 100644 (file)
@@ -1044,7 +1044,7 @@ static DecodeStatus DecodeBlezGroupBranch(MCInst &MI, InsnType insn,
 }
 
 /// Read two bytes from the ArrayRef and return 16 bit halfword sorted
-/// according to the given endianess.
+/// according to the given endianness.
 static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
                                       uint64_t &Size, uint32_t &Insn,
                                       bool IsBigEndian) {
@@ -1064,7 +1064,7 @@ static DecodeStatus readInstruction16(ArrayRef<uint8_t> Bytes, uint64_t Address,
 }
 
 /// Read four bytes from the ArrayRef and return 32 bit word sorted
-/// according to the given endianess
+/// according to the given endianness.
 static DecodeStatus readInstruction32(ArrayRef<uint8_t> Bytes, uint64_t Address,
                                       uint64_t &Size, uint32_t &Insn,
                                       bool IsBigEndian, bool IsMicroMips) {
index b30fc4a011907dfe92abac6de3def194c3e48917..179695bc69884270dbedaaf27098b507a9f1f1d0 100644 (file)
@@ -500,7 +500,7 @@ bool MipsAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum,
 
       unsigned RegOp = OpNum;
       if (!Subtarget->isGP64bit()){
-        // Endianess reverses which register holds the high or low value
+        // Endianness reverses which register holds the high or low value
         // between M and L.
         switch(ExtraCode[0]) {
         case 'M':
index e92d3aef72e3896e995361bf73e968e4d22a4e96..d0609b15341d813930ab7130f3c6f887d3d319a6 100644 (file)
@@ -68,7 +68,7 @@ void MipsFunctionInfo::createEhDataRegsFI() {
 void MipsFunctionInfo::createISRRegFI() {
   // ISRs require spill slots for Status & ErrorPC Coprocessor 0 registers.
   // The current implementation only supports Mips32r2+ not Mips64rX. Status
-  // is always 32 bits, ErrorPC is 32 or 64 bits dependant on architecture,
+  // is always 32 bits, ErrorPC is 32 or 64 bits dependent on architecture,
   // however Mips32r2+ is the supported architecture.
   const TargetRegisterClass *RC = &Mips::GPR32RegClass;