[llvm] 9c7bd94 - Fix typo in comment
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 9 02:36:14 PDT 2020
Author: Jay Foad
Date: 2020-04-09T10:36:00+01:00
New Revision: 9c7bd94ce82f09c964381545a41e2779a129ec9f
URL: https://github.com/llvm/llvm-project/commit/9c7bd94ce82f09c964381545a41e2779a129ec9f
DIFF: https://github.com/llvm/llvm-project/commit/9c7bd94ce82f09c964381545a41e2779a129ec9f.diff
LOG: Fix typo in comment
Added:
Modified:
llvm/include/llvm/MCA/HardwareUnits/RegisterFile.h
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/lib/Target/X86/X86CallingConv.cpp
llvm/test/CodeGen/ARM/ifcvt-regmask-noreturn.ll
llvm/test/CodeGen/X86/pr11468.ll
llvm/test/MC/X86/i386-darwin-frame-register.ll
Removed:
################################################################################
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=<uint>`.
+ // register file #0 specifying command line flag `-register-file-size=<uint>`.
SmallVector<RegisterMappingTracker, 4> 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
diff erent 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:
More information about the llvm-commits
mailing list