diff --git a/llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h b/llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h index 344df7dbf7fa..e8ca34854295 100644 --- a/llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h +++ b/llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h @@ -83,7 +83,7 @@ class RegisterFile : public HardwareUnit { // the target name). // // Users can limit the number of physical registers that are available in - // regsiter file #0 specifying command line flag `-register-file-size=`. + // register file #0 specifying command line flag `-register-file-size=`. SmallVector RegisterFiles; // This type is used to propagate information about the owner of a register, diff --git a/llvm/lib/Target/VE/VEISelLowering.cpp b/llvm/lib/Target/VE/VEISelLowering.cpp index 3646d5d59ccc..e8f98abbf448 100644 --- a/llvm/lib/Target/VE/VEISelLowering.cpp +++ b/llvm/lib/Target/VE/VEISelLowering.cpp @@ -229,7 +229,7 @@ Register VETargetLowering::getRegisterByName(const char *RegName, LLT VT, .Case("sp", VE::SX11) // Stack pointer .Case("fp", VE::SX9) // Frame pointer .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("outer", VE::SX12) // Outer regiser .Case("info", VE::SX17) // Info area register diff --git a/llvm/lib/Target/X86/X86CallingConv.cpp b/llvm/lib/Target/X86/X86CallingConv.cpp index aee344a26764..baf835ac58e6 100644 --- a/llvm/lib/Target/X86/X86CallingConv.cpp +++ b/llvm/lib/Target/X86/X86CallingConv.cpp @@ -60,7 +60,7 @@ static bool CC_X86_32_RegCall_Assign2Regs(unsigned &ValNo, MVT &ValVT, 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; } diff --git a/llvm/test/CodeGen/ARM/ifcvt-regmask-noreturn.ll b/llvm/test/CodeGen/ARM/ifcvt-regmask-noreturn.ll index cf04fc90504a..a0a0bd60b6e6 100644 --- a/llvm/test/CodeGen/ARM/ifcvt-regmask-noreturn.ll +++ b/llvm/test/CodeGen/ARM/ifcvt-regmask-noreturn.ll @@ -5,7 +5,7 @@ target triple = "thumbv7s-apple-ios8.0.0" @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 ; of the function. ; Prior to this change, the stack_chk call (which does not return) would clobber R0 in its regmask, diff --git a/llvm/test/CodeGen/X86/pr11468.ll b/llvm/test/CodeGen/X86/pr11468.ll index d2bd4d8d8b05..c2bc370ed042 100644 --- a/llvm/test/CodeGen/X86/pr11468.ll +++ b/llvm/test/CodeGen/X86/pr11468.ll @@ -21,7 +21,7 @@ entry: ; CHECK: andq $-32, %rsp ; 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 ; Pop saved registers. diff --git a/llvm/test/MC/X86/i386-darwin-frame-register.ll b/llvm/test/MC/X86/i386-darwin-frame-register.ll index c56e8e6b423a..f4eb110cb08d 100644 --- a/llvm/test/MC/X86/i386-darwin-frame-register.ll +++ b/llvm/test/MC/X86/i386-darwin-frame-register.ll @@ -5,7 +5,7 @@ ; x86 Darwin uses different register mappings for eh_frame and 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. ; CHECK: .debug_frame contents: