Fix typo in comment

This commit is contained in:
Jay Foad 2020-04-09 10:15:07 +01:00
parent 4970a1deca
commit 9c7bd94ce8
6 changed files with 6 additions and 6 deletions

View File

@ -83,7 +83,7 @@ class RegisterFile : public HardwareUnit {
// the target name). // the target name).
// //
// Users can limit the number of physical registers that are available in // Users can limit the number of physical registers that are available in
// regsiter file #0 specifying command line flag `-register-file-size=<uint>`. // register file #0 specifying command line flag `-register-file-size=<uint>`.
SmallVector<RegisterMappingTracker, 4> RegisterFiles; SmallVector<RegisterMappingTracker, 4> RegisterFiles;
// This type is used to propagate information about the owner of a register, // This type is used to propagate information about the owner of a register,

View File

@ -229,7 +229,7 @@ Register VETargetLowering::getRegisterByName(const char *RegName, LLT VT,
.Case("sp", VE::SX11) // Stack pointer .Case("sp", VE::SX11) // Stack pointer
.Case("fp", VE::SX9) // Frame pointer .Case("fp", VE::SX9) // Frame pointer
.Case("sl", VE::SX8) // Stack limit .Case("sl", VE::SX8) // Stack limit
.Case("lr", VE::SX10) // Link regsiter .Case("lr", VE::SX10) // Link register
.Case("tp", VE::SX14) // Thread pointer .Case("tp", VE::SX14) // Thread pointer
.Case("outer", VE::SX12) // Outer regiser .Case("outer", VE::SX12) // Outer regiser
.Case("info", VE::SX17) // Info area register .Case("info", VE::SX17) // Info area register

View File

@ -60,7 +60,7 @@ static bool CC_X86_32_RegCall_Assign2Regs(unsigned &ValNo, MVT &ValVT,
State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo)); State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo));
} }
// Successful in allocating regsiters - stop scanning next rules. // Successful in allocating registers - stop scanning next rules.
return true; return true;
} }

View File

@ -5,7 +5,7 @@ target triple = "thumbv7s-apple-ios8.0.0"
@debw = external global i8*, align 4 @debw = external global i8*, align 4
; This test ensures that the stack_chk call correctly puts implicit uses/defs for the regsiters ; This test ensures that the stack_chk call correctly puts implicit uses/defs for the registers
; live across it when if converting. This will be R0 which is passed to the call to free at the end ; live across it when if converting. This will be R0 which is passed to the call to free at the end
; of the function. ; of the function.
; Prior to this change, the stack_chk call (which does not return) would clobber R0 in its regmask, ; Prior to this change, the stack_chk call (which does not return) would clobber R0 in its regmask,

View File

@ -21,7 +21,7 @@ entry:
; CHECK: andq $-32, %rsp ; CHECK: andq $-32, %rsp
; CHECK: .cfi_offset %r14, -24 ; CHECK: .cfi_offset %r14, -24
; Restore %rsp from %rbp and subtract the total size of saved regsiters. ; Restore %rsp from %rbp and subtract the total size of saved registers.
; CHECK: leaq -8(%rbp), %rsp ; CHECK: leaq -8(%rbp), %rsp
; Pop saved registers. ; Pop saved registers.

View File

@ -5,7 +5,7 @@
; x86 Darwin uses different register mappings for eh_frame and debug_frame ; x86 Darwin uses different register mappings for eh_frame and debug_frame
; sections. Check that the right mapping is used in debug_frame. ; sections. Check that the right mapping is used in debug_frame.
; In the debug_frame mapping, regsiter 4 is ESP, thus the below tests that ; In the debug_frame mapping, register 4 is ESP, thus the below tests that
; the CFA is ESP+4 upon function entry. ; the CFA is ESP+4 upon function entry.
; CHECK: .debug_frame contents: ; CHECK: .debug_frame contents: