diff --git a/llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h b/llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h --- a/llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h +++ b/llvm/include/llvm/MCA/HardwareUnits/ResourceManager.h @@ -228,7 +228,7 @@ void setReserved() { Unavailable = true; } void clearReserved() { Unavailable = false; } - /// Returs true if this resource is not reserved, and if there are at least + /// Returns true if this resource is not reserved, and if there are at least /// `NumUnits` available units. bool isReady(unsigned NumUnits = 1) const; diff --git a/llvm/test/tools/llvm-mca/X86/Haswell/mulx-same-regs.s b/llvm/test/tools/llvm-mca/X86/Haswell/mulx-same-regs.s --- a/llvm/test/tools/llvm-mca/X86/Haswell/mulx-same-regs.s +++ b/llvm/test/tools/llvm-mca/X86/Haswell/mulx-same-regs.s @@ -2,7 +2,7 @@ # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=haswell -timeline -iterations=2 < %s | FileCheck %s # PR51495: If the two destination registers are the same, the destination will -# contain teh high half of the multiplication result. +# contain the high half of the multiplication result. # LLVM-MCA-BEGIN mulxl %eax, %eax, %eax diff --git a/llvm/test/tools/llvm-mca/X86/SkylakeClient/mulx-same-regs.s b/llvm/test/tools/llvm-mca/X86/SkylakeClient/mulx-same-regs.s --- a/llvm/test/tools/llvm-mca/X86/SkylakeClient/mulx-same-regs.s +++ b/llvm/test/tools/llvm-mca/X86/SkylakeClient/mulx-same-regs.s @@ -2,7 +2,7 @@ # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=skylake -timeline -iterations=2 < %s | FileCheck %s # PR51495: If the two destination registers are the same, the destination will -# contain teh high half of the multiplication result. +# contain the high half of the multiplication result. # LLVM-MCA-BEGIN mulxl %eax, %eax, %eax diff --git a/llvm/test/tools/llvm-mca/X86/Znver3/mulx-same-regs.s b/llvm/test/tools/llvm-mca/X86/Znver3/mulx-same-regs.s --- a/llvm/test/tools/llvm-mca/X86/Znver3/mulx-same-regs.s +++ b/llvm/test/tools/llvm-mca/X86/Znver3/mulx-same-regs.s @@ -2,7 +2,7 @@ # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver3 -timeline -iterations=2 < %s | FileCheck %s # PR51495: If the two destination registers are the same, the destination will -# contain teh high half of the multiplication result. +# contain the high half of the multiplication result. # LLVM-MCA-BEGIN mulxl %eax, %eax, %eax