Skip to content

Commit 9c7bd94

Browse files
committed
Fix typo in comment
1 parent 4970a1d commit 9c7bd94

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class RegisterFile : public HardwareUnit {
8383
// the target name).
8484
//
8585
// Users can limit the number of physical registers that are available in
86-
// regsiter file #0 specifying command line flag `-register-file-size=<uint>`.
86+
// register file #0 specifying command line flag `-register-file-size=<uint>`.
8787
SmallVector<RegisterMappingTracker, 4> RegisterFiles;
8888

8989
// This type is used to propagate information about the owner of a register,

llvm/lib/Target/VE/VEISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Register VETargetLowering::getRegisterByName(const char *RegName, LLT VT,
229229
.Case("sp", VE::SX11) // Stack pointer
230230
.Case("fp", VE::SX9) // Frame pointer
231231
.Case("sl", VE::SX8) // Stack limit
232-
.Case("lr", VE::SX10) // Link regsiter
232+
.Case("lr", VE::SX10) // Link register
233233
.Case("tp", VE::SX14) // Thread pointer
234234
.Case("outer", VE::SX12) // Outer regiser
235235
.Case("info", VE::SX17) // Info area register

llvm/lib/Target/X86/X86CallingConv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static bool CC_X86_32_RegCall_Assign2Regs(unsigned &ValNo, MVT &ValVT,
6060
State.addLoc(CCValAssign::getCustomReg(ValNo, ValVT, Reg, LocVT, LocInfo));
6161
}
6262

63-
// Successful in allocating regsiters - stop scanning next rules.
63+
// Successful in allocating registers - stop scanning next rules.
6464
return true;
6565
}
6666

llvm/test/CodeGen/ARM/ifcvt-regmask-noreturn.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ target triple = "thumbv7s-apple-ios8.0.0"
55

66
@debw = external global i8*, align 4
77

8-
; This test ensures that the stack_chk call correctly puts implicit uses/defs for the regsiters
8+
; This test ensures that the stack_chk call correctly puts implicit uses/defs for the registers
99
; live across it when if converting. This will be R0 which is passed to the call to free at the end
1010
; of the function.
1111
; Prior to this change, the stack_chk call (which does not return) would clobber R0 in its regmask,

llvm/test/CodeGen/X86/pr11468.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ entry:
2121
; CHECK: andq $-32, %rsp
2222
; CHECK: .cfi_offset %r14, -24
2323

24-
; Restore %rsp from %rbp and subtract the total size of saved regsiters.
24+
; Restore %rsp from %rbp and subtract the total size of saved registers.
2525
; CHECK: leaq -8(%rbp), %rsp
2626

2727
; Pop saved registers.

llvm/test/MC/X86/i386-darwin-frame-register.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
; x86 Darwin uses different register mappings for eh_frame and debug_frame
77
; sections. Check that the right mapping is used in debug_frame.
8-
; In the debug_frame mapping, regsiter 4 is ESP, thus the below tests that
8+
; In the debug_frame mapping, register 4 is ESP, thus the below tests that
99
; the CFA is ESP+4 upon function entry.
1010

1111
; CHECK: .debug_frame contents:

0 commit comments

Comments
 (0)