Skip to content

Commit e87f94a

Browse files
authored
[llvm-project] Fix typos mutli and mutliple. NFC. (#122880)
1 parent b87fdd9 commit e87f94a

File tree

17 files changed

+29
-29
lines changed

17 files changed

+29
-29
lines changed

clang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ static void ignoreTypeLocClasses(
342342
Loc = Loc.getNextTypeLoc();
343343
}
344344

345-
static bool isMutliLevelPointerToTypeLocClasses(
345+
static bool isMultiLevelPointerToTypeLocClasses(
346346
TypeLoc Loc,
347347
std::initializer_list<TypeLoc::TypeLocClass> const &LocClasses) {
348348
ignoreTypeLocClasses(Loc, {TypeLoc::Paren, TypeLoc::Qualified});
@@ -424,7 +424,7 @@ void UseAutoCheck::replaceExpr(
424424

425425
auto Diag = diag(Range.getBegin(), Message);
426426

427-
bool ShouldReplenishVariableName = isMutliLevelPointerToTypeLocClasses(
427+
bool ShouldReplenishVariableName = isMultiLevelPointerToTypeLocClasses(
428428
TSI->getTypeLoc(), {TypeLoc::FunctionProto, TypeLoc::ConstantArray});
429429

430430
// Space after 'auto' to handle cases where the '*' in the pointer type is

clang/lib/Basic/SourceManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,7 @@ unsigned SourceManager::getPresumedColumnNumber(SourceLocation Loc,
12221222
return PLoc.getColumn();
12231223
}
12241224

1225-
// Check if mutli-byte word x has bytes between m and n, included. This may also
1225+
// Check if multi-byte word x has bytes between m and n, included. This may also
12261226
// catch bytes equal to n + 1.
12271227
// The returned value holds a 0x80 at each byte position that holds a match.
12281228
// see http://graphics.stanford.edu/~seander/bithacks.html#HasBetweenInWord

flang/test/HLFIR/associate-codegen.fir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ func.func @_QPtest_multiple_expr_uses_inside_elemental() {
372372
// CHECK: return
373373
// CHECK: }
374374

375-
// Verify that we properly recognize mutliple consequent hlfir.associate using
375+
// Verify that we properly recognize multiple consequent hlfir.associate using
376376
// the same result of hlfir.elemental.
377377
func.func @_QPtest_multitple_associates_for_same_expr() {
378378
%c1 = arith.constant 1 : index

libc/test/src/unistd/getopt_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ TEST_F(LlvmLibcGetoptTest, ParseArgInNext) {
155155
EXPECT_EQ(test_globals::optind, 3);
156156
}
157157

158-
TEST_F(LlvmLibcGetoptTest, ParseMutliInOne) {
158+
TEST_F(LlvmLibcGetoptTest, ParseMultiInOne) {
159159
array<char *, 3> argv{"prog"_c, "-abc"_c, nullptr};
160160

161161
EXPECT_EQ(LIBC_NAMESPACE::getopt(2, argv.data(), "abc"), (int)'a');

lldb/source/Commands/CommandObjectMemory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ class CommandObjectMemoryRegion : public CommandObjectParsed {
17371737

17381738
// It is important that we track the address used to request the region as
17391739
// this will give the correct section name in the case that regions overlap.
1740-
// On Windows we get mutliple regions that start at the same place but are
1740+
// On Windows we get multiple regions that start at the same place but are
17411741
// different sizes and refer to different sections.
17421742
std::vector<std::pair<lldb_private::MemoryRegionInfo, lldb::addr_t>>
17431743
region_list;

lldb/source/Target/StructuredDataPlugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ ProcessSP StructuredDataPlugin::GetProcess() const {
4343
}
4444

4545
void StructuredDataPlugin::InitializeBasePluginForDebugger(Debugger &debugger) {
46-
// Create our mutliword command anchor if it doesn't already exist.
46+
// Create our multiword command anchor if it doesn't already exist.
4747
auto &interpreter = debugger.GetCommandInterpreter();
4848
if (!interpreter.GetCommandObject("plugin structured-data")) {
4949
// Find the parent command.

lldb/unittests/Target/RegisterFlagsTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ TEST(RegisterFlagsTest, DumpEnums) {
274274
.DumpEnums(5),
275275
"A: 0 = an_enumerator");
276276

277-
// Mutliple values can go on the same line, up to the width.
277+
// Multiple values can go on the same line, up to the width.
278278
FieldEnum more_enum("long_enum",
279279
{{0, "an_enumerator"},
280280
{1, "another_enumerator"},

llvm/include/llvm/IR/DebugInfoMetadata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ DILocation::cloneWithDiscriminator(unsigned Discriminator) const {
23912391
DIScope *Scope = getScope();
23922392
// Skip all parent DILexicalBlockFile that already have a discriminator
23932393
// assigned. We do not want to have nested DILexicalBlockFiles that have
2394-
// mutliple discriminators because only the leaf DILexicalBlockFile's
2394+
// multiple discriminators because only the leaf DILexicalBlockFile's
23952395
// dominator will be used.
23962396
for (auto *LBF = dyn_cast<DILexicalBlockFile>(Scope);
23972397
LBF && LBF->getDiscriminator() != 0;

llvm/lib/Target/X86/X86LowerAMXType.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ bool X86LowerAMXType::visit() {
498498
DeadInsts.push_back(Bitcast);
499499
continue;
500500
}
501-
// If load has mutli-user, duplicate a vector load.
501+
// If load has multi-user, duplicate a vector load.
502502
// %src = load <256 x i32>, <256 x i32>* %addr, align 64
503503
// %2 = bitcast <256 x i32> %src to x86_amx
504504
// %add = add <256 x i32> %src, <256 x i32> %src2

llvm/test/CodeGen/AArch64/eon.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ entry:
1515
ret i64 %xor
1616
}
1717

18-
; Same check with mutliple uses of %neg
18+
; Same check with multiple uses of %neg
1919
define i64 @test2(i64 %a, i64 %b, i64 %c) {
2020
; CHECK-LABEL: test2:
2121
; CHECK: eon

llvm/test/DebugInfo/X86/multiple-at-const-val.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; RUN: llvm-dwarfdump -v %t | FileCheck %s
33

44
; rdar://13071590
5-
; Check we are not emitting mutliple AT_const_value for a single member.
5+
; Check we are not emitting multiple AT_const_value for a single member.
66
; CHECK: .debug_info contents:
77
; CHECK: DW_TAG_compile_unit
88
; CHECK: DW_TAG_class_type

llvm/test/Transforms/EarlyCSE/guards.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ right:
139139
}
140140

141141
define i32 @test5(i32 %val, i1 %c) {
142-
; Same as test4, but the %left block has mutliple predecessors.
142+
; Same as test4, but the %left block has multiple predecessors.
143143
; CHECK-LABEL: @test5(
144144
; CHECK-NEXT: entry:
145145
; CHECK-NEXT: [[COND0:%.*]] = icmp slt i32 [[VAL:%.*]], 40

llvm/test/Transforms/InstCombine/matrix-multiplication-negation.ll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ define <12 x double> @fneg_with_multiple_uses_2(<15 x double> %a, <20 x double>
265265
ret <12 x double> %res
266266
}
267267
; negation should be moved to the second operand given it has the smallest operand count
268-
define <72 x double> @chain_of_matrix_mutliplies(<27 x double> %a, <3 x double> %b, <8 x double> %c) {
269-
; CHECK-LABEL: @chain_of_matrix_mutliplies(
268+
define <72 x double> @chain_of_matrix_multiplies(<27 x double> %a, <3 x double> %b, <8 x double> %c) {
269+
; CHECK-LABEL: @chain_of_matrix_multiplies(
270270
; CHECK-NEXT: [[TMP1:%.*]] = fneg <3 x double> [[B:%.*]]
271271
; CHECK-NEXT: [[RES:%.*]] = tail call <9 x double> @llvm.matrix.multiply.v9f64.v27f64.v3f64(<27 x double> [[A:%.*]], <3 x double> [[TMP1]], i32 9, i32 3, i32 1)
272272
; CHECK-NEXT: [[RES_2:%.*]] = tail call <72 x double> @llvm.matrix.multiply.v72f64.v9f64.v8f64(<9 x double> [[RES]], <8 x double> [[C:%.*]], i32 9, i32 1, i32 8)
@@ -280,8 +280,8 @@ define <72 x double> @chain_of_matrix_mutliplies(<27 x double> %a, <3 x double>
280280

281281
; first negation should be moved to %a
282282
; second negation should be moved to the result of the second multipication
283-
define <6 x double> @chain_of_matrix_mutliplies_with_two_negations(<3 x double> %a, <5 x double> %b, <10 x double> %c) {
284-
; CHECK-LABEL: @chain_of_matrix_mutliplies_with_two_negations(
283+
define <6 x double> @chain_of_matrix_multiplies_with_two_negations(<3 x double> %a, <5 x double> %b, <10 x double> %c) {
284+
; CHECK-LABEL: @chain_of_matrix_multiplies_with_two_negations(
285285
; CHECK-NEXT: [[TMP1:%.*]] = fneg <3 x double> [[A:%.*]]
286286
; CHECK-NEXT: [[RES:%.*]] = tail call <15 x double> @llvm.matrix.multiply.v15f64.v3f64.v5f64(<3 x double> [[TMP1]], <5 x double> [[B:%.*]], i32 3, i32 1, i32 5)
287287
; CHECK-NEXT: [[TMP2:%.*]] = call <6 x double> @llvm.matrix.multiply.v6f64.v15f64.v10f64(<15 x double> [[RES]], <10 x double> [[C:%.*]], i32 3, i32 5, i32 2)
@@ -296,8 +296,8 @@ define <6 x double> @chain_of_matrix_mutliplies_with_two_negations(<3 x double>
296296
}
297297

298298
; negation should be propagated to the result of the second matrix multiplication
299-
define <6 x double> @chain_of_matrix_mutliplies_propagation(<15 x double> %a, <20 x double> %b, <8 x double> %c){
300-
; CHECK-LABEL: @chain_of_matrix_mutliplies_propagation(
299+
define <6 x double> @chain_of_matrix_multiplies_propagation(<15 x double> %a, <20 x double> %b, <8 x double> %c){
300+
; CHECK-LABEL: @chain_of_matrix_multiplies_propagation(
301301
; CHECK-NEXT: [[TMP1:%.*]] = call <12 x double> @llvm.matrix.multiply.v12f64.v15f64.v20f64(<15 x double> [[A:%.*]], <20 x double> [[B:%.*]], i32 3, i32 5, i32 4)
302302
; CHECK-NEXT: [[TMP2:%.*]] = call <6 x double> @llvm.matrix.multiply.v6f64.v12f64.v8f64(<12 x double> [[TMP1]], <8 x double> [[C:%.*]], i32 3, i32 4, i32 2)
303303
; CHECK-NEXT: [[RES_2:%.*]] = fneg <6 x double> [[TMP2]]

llvm/test/Transforms/LoopVectorize/RISCV/blend-any-of-reduction-cost.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ exit:
5858
ret i32 %res
5959
}
6060

61-
define i32 @any_of_reduction_used_in_blend_with_mutliple_phis(ptr %src, i64 %N, i1 %c.0, i1 %c.1) #0 {
62-
; CHECK-LABEL: define i32 @any_of_reduction_used_in_blend_with_mutliple_phis(
61+
define i32 @any_of_reduction_used_in_blend_with_multiple_phis(ptr %src, i64 %N, i1 %c.0, i1 %c.1) #0 {
62+
; CHECK-LABEL: define i32 @any_of_reduction_used_in_blend_with_multiple_phis(
6363
; CHECK-SAME: ptr [[SRC:%.*]], i64 [[N:%.*]], i1 [[C_0:%.*]], i1 [[C_1:%.*]]) #[[ATTR0]] {
6464
; CHECK-NEXT: [[ENTRY:.*]]:
6565
; CHECK-NEXT: [[TMP0:%.*]] = call i64 @llvm.vscale.i64()

mlir/test/Dialect/Bufferization/Transforms/one-shot-bufferize-empty-tensor-elimination.mlir

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,9 @@ func.func @succeed_to_eliminate_one_empty_tensor() -> tensor<5x6x128xf32> {
418418
// empty with the new injected `SubsetExtraction`, i.e. the specific use
419419
// which has been tracked.
420420

421-
// CHECK-ELIM-LABEL: func.func @mutli_use_of_the_same_tensor_empty
422-
// CHECK-LABEL: func.func @mutli_use_of_the_same_tensor_empty
423-
func.func @mutli_use_of_the_same_tensor_empty() -> tensor<5x6x128xf32> {
421+
// CHECK-ELIM-LABEL: func.func @multi_use_of_the_same_tensor_empty
422+
// CHECK-LABEL: func.func @multi_use_of_the_same_tensor_empty
423+
func.func @multi_use_of_the_same_tensor_empty() -> tensor<5x6x128xf32> {
424424
%cst_1 = arith.constant 1.0 : f32
425425
%cst_2 = arith.constant 2.0 : f32
426426
%cancatenated_empty = tensor.empty() : tensor<5x6x128xf32>
@@ -441,9 +441,9 @@ func.func @mutli_use_of_the_same_tensor_empty() -> tensor<5x6x128xf32> {
441441

442442
// -----
443443

444-
// CHECK-LABEL: func.func @mutli_use_of_the_same_tensor_empty_creates_non_existent_read
445-
// CHECK-ELIM-LABEL: func.func @mutli_use_of_the_same_tensor_empty_creates_non_existent_read
446-
func.func @mutli_use_of_the_same_tensor_empty_creates_non_existent_read(%arg1: tensor<5x6x128xf32> , %arg2: tensor<5x6x64xf32>)
444+
// CHECK-LABEL: func.func @multi_use_of_the_same_tensor_empty_creates_non_existent_read
445+
// CHECK-ELIM-LABEL: func.func @multi_use_of_the_same_tensor_empty_creates_non_existent_read
446+
func.func @multi_use_of_the_same_tensor_empty_creates_non_existent_read(%arg1: tensor<5x6x128xf32> , %arg2: tensor<5x6x64xf32>)
447447
-> (tensor<5x6x128xf32>, tensor<5x6x64xf32>) {
448448
%cst_1 = arith.constant 1.0 : f32
449449
%empty_1 = tensor.empty() : tensor<5x6x64xf32>

mlir/test/Transforms/mem2reg.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s --pass-pipeline='builtin.module(any(mem2reg))' --split-input-file | FileCheck %s
22

3-
// Verifies that allocators with mutliple slots are handled properly.
3+
// Verifies that allocators with multiple slots are handled properly.
44

55
// CHECK-LABEL: func.func @multi_slot_alloca
66
func.func @multi_slot_alloca() -> (i32, i32) {

mlir/test/Transforms/sroa.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s --pass-pipeline='builtin.module(func.func(sroa))' --split-input-file | FileCheck %s
22

3-
// Verifies that allocators with mutliple slots are handled properly.
3+
// Verifies that allocators with multiple slots are handled properly.
44

55
// CHECK-LABEL: func.func @multi_slot_alloca
66
func.func @multi_slot_alloca() -> (i32, i32) {

0 commit comments

Comments
 (0)