Skip to content

Commit b635d69

Browse files
committed
[NFC] Fix laod -> load typos. NFC
1 parent db03d9d commit b635d69

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

clang/lib/Sema/SemaDeclCXX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16111,7 +16111,7 @@ ExprResult Sema::BuildCXXConstructExpr(
1611116111
CXXConstructionKind ConstructKind, SourceRange ParenRange) {
1611216112
if (auto *Shadow = dyn_cast<ConstructorUsingShadowDecl>(FoundDecl)) {
1611316113
Constructor = findInheritingConstructor(ConstructLoc, Constructor, Shadow);
16114-
// The only way to get here is if we did overlaod resolution to find the
16114+
// The only way to get here is if we did overload resolution to find the
1611516115
// shadow decl, so we don't need to worry about re-checking the trailing
1611616116
// requires clause.
1611716117
if (DiagnoseUseOfOverloadedDecl(Constructor, ConstructLoc))

clang/test/SemaHLSL/ScalarOverloadResolution.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ void Case1(half H, float F, double D) {
7272
HalfFloatDouble(D);
7373
}
7474

75-
// Case 2: A function declared with double and float overlaods.
75+
// Case 2: A function declared with double and float overloads.
7676
// (a) When called with half, it will resolve to float because float is lower
7777
// ranked than double.
7878
// (b) When called with float it will resolve to float because float is an

clang/test/SemaHLSL/VectorElementOverloadResolution.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void Case1(half2 H, float2 F, double2 D) {
7171
HalfFloatDouble(D);
7272
}
7373

74-
// Case 2: A function declared with double and float overlaods.
74+
// Case 2: A function declared with double and float overloads.
7575
// (a) When called with half, it will resolve to float because float is lower
7676
// ranked than double.
7777
// (b) When called with float it will resolve to float because float is an

llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class AMDGPUPostLegalizerCombinerImpl : public Combiner {
100100
bool matchRemoveFcanonicalize(MachineInstr &MI, Register &Reg) const;
101101

102102
// Combine unsigned buffer load and signed extension instructions to generate
103-
// signed buffer laod instructions.
103+
// signed buffer load instructions.
104104
bool matchCombineSignExtendInReg(
105105
MachineInstr &MI, std::pair<MachineInstr *, unsigned> &MatchInfo) const;
106106
void applyCombineSignExtendInReg(

llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
//
5858
// base = gep a, 0, x, y
5959
// load base
60-
// laod base + 1 * sizeof(float)
60+
// load base + 1 * sizeof(float)
6161
// load base + 32 * sizeof(float)
6262
// load base + 33 * sizeof(float)
6363
//

llvm/test/CodeGen/AArch64/speculation-hardening-loads.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ define double @ld_double(ptr %p) speculative_load_hardening {
2222
entry:
2323
%0 = load double, ptr %p, align 8
2424
ret double %0
25-
; Checking that the address laoded from is masked for a floating point load.
25+
; Checking that the address loaded from is masked for a floating point load.
2626
; CHECK-LABEL: ld_double
2727
; CHECK: cmp sp, #0
2828
; CHECK-NEXT: csetm x16, ne
@@ -43,7 +43,7 @@ entry:
4343
%iszero = icmp eq i64 %X, 0
4444
%ret = select i1 %iszero, i32 %b, i32 %add
4545
ret i32 %ret
46-
; Checking that the address laoded from is masked for a floating point load.
46+
; Checking that the address loaded from is masked for a floating point load.
4747
; CHECK-LABEL: csdb_emitted_for_subreg_use
4848
; CHECK: cmp sp, #0
4949
; CHECK-NEXT: ldr x8, [x0]
@@ -68,7 +68,7 @@ entry:
6868
%iszero = icmp eq i32 %X, 0
6969
%ret = select i1 %iszero, i64 %b, i64 %add
7070
ret i64 %ret
71-
; Checking that the address laoded from is masked for a floating point load.
71+
; Checking that the address loaded from is masked for a floating point load.
7272
; CHECK-LABEL: csdb_emitted_for_superreg_use
7373
; CHECK: cmp sp, #0
7474
; CHECK-NEXT: ldr w8, [x0]

llvm/test/CodeGen/X86/load-partial-dot-product.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx | FileCheck %s --check-prefixes=AVX
66
; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefixes=AVX
77

8-
; Partial laod dot product patterns based off PR51075
8+
; Partial load dot product patterns based off PR51075
99

1010
;
1111
; dot3(ptr x, ptr y) - ((xptr y[0])+(xptr y[1])+(xptr y[2]))

llvm/test/tools/yaml2obj/COFF/load-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ sections:
190190
symbols: []
191191
...
192192

193-
## Create laod config larger than coff_load_configuration32 struct.
193+
## Create load config larger than coff_load_configuration32 struct.
194194
# RUN: yaml2obj --docnum=4 %s -o %t
195195
# RUN: llvm-readobj --hex-dump=.rdata %t | FileCheck %s --check-prefix=LARGE
196196

0 commit comments

Comments
 (0)