Skip to content

Commit b57b3f6

Browse files
authored
[NFC] Simple typo correction. (#114548)
1 parent a6e72f9 commit b57b3f6

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

clang/test/CodeGenSYCL/unique_stable_name_windows_diff.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ int main() {
3636
(void)__builtin_sycl_unique_stable_name(decltype(lambda3));
3737

3838
// Make sure the following 3 are the same between the host and device compile.
39-
// Note that these are NOT the same value as eachother, they differ by the
39+
// Note that these are NOT the same value as each other, they differ by the
4040
// signature.
4141
// CHECK: private unnamed_addr [[$ADDRSPACE]]constant [17 x i8] c"_ZTSZ4mainEUlvE_\00"
4242
// CHECK: private unnamed_addr [[$ADDRSPACE]]constant [17 x i8] c"_ZTSZ4mainEUliE_\00"

clang/test/SemaCXX/ext-vector-type-conditional.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void Operands() {
8686
(void)(four_ints ? uss : shrt); // should be fine, since they get promoted to int.
8787
(void)(four_ints ? shrt : shrt); // expected-error {{vector condition type 'FourInts' (vector of 4 'int' values) and result type 'short __attribute__((ext_vector_type(4)))' (vector of 4 'short' values) do not have elements of the same size}}
8888

89-
// Vectors must be the same type as eachother.
89+
// Vectors must be the same type as each other.
9090
(void)(four_ints ? four_uints : four_floats); // expected-error {{vector operands to the vector conditional must be the same type ('FourUInts' (vector of 4 'unsigned int' values) and 'FourFloats' (vector of 4 'float' values))}}
9191
(void)(four_ints ? four_uints : four_ints); // expected-error {{vector operands to the vector conditional must be the same type ('FourUInts' (vector of 4 'unsigned int' values) and 'FourInts' (vector of 4 'int' values))}}
9292
(void)(four_ints ? four_ints : four_uints); // expected-error {{vector operands to the vector conditional must be the same type ('FourInts' (vector of 4 'int' values) and 'FourUInts' (vector of 4 'unsigned int' values))}}

clang/test/SemaCXX/vector-size-conditional.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void Operands() {
8989
(void)(four_ints ? uss : shrt); // should be fine, since they get promoted to int.
9090
(void)(four_ints ? shrt : shrt); //expected-error {{vector condition type 'FourInts' (vector of 4 'int' values) and result type '__attribute__((__vector_size__(4 * sizeof(short)))) short' (vector of 4 'short' values) do not have elements of the same size}}
9191

92-
// Vectors must be the same type as eachother.
92+
// Vectors must be the same type as each other.
9393
(void)(four_ints ? four_uints : four_floats); // expected-error {{vector operands to the vector conditional must be the same type ('FourUInts' (vector of 4 'unsigned int' values) and 'FourFloats' (vector of 4 'float' values))}}
9494
(void)(four_ints ? four_uints : four_ints); // expected-error {{vector operands to the vector conditional must be the same type ('FourUInts' (vector of 4 'unsigned int' values) and 'FourInts' (vector of 4 'int' values))}}
9595
(void)(four_ints ? four_ints : four_uints); // expected-error {{vector operands to the vector conditional must be the same type ('FourInts' (vector of 4 'int' values) and 'FourUInts' (vector of 4 'unsigned int' values))}}

compiler-rt/lib/ctx_profile/CtxInstrContextNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// NOTE!
1111
// llvm/lib/ProfileData/CtxInstrContextNode.h and
1212
// compiler-rt/lib/ctx_profile/CtxInstrContextNode.h
13-
// must be exact copies of eachother
13+
// must be exact copies of each other
1414
//
1515
// compiler-rt creates these objects as part of the instrumentation runtime for
1616
// contextual profiling. LLVM only consumes them to convert a contextual tree
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;
22
; NOTE: if this test fails, please make sure the two files are identical copies
3-
; of eachother.
3+
; of each other.
44
;
55
; RUN: diff %crt_src/lib/ctx_profile/CtxInstrContextNode.h %llvm_src/include/llvm/ProfileData/CtxInstrContextNode.h

libc/docs/gpu/rpc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ but the following example shows how it can be used by a standard user.
231231
}
232232
233233
// Routines to allocate mapped memory that both the host and the device can
234-
// access asychonrously to communicate with eachother.
234+
// access asychonrously to communicate with each other.
235235
void *alloc_host(size_t size, void *) {
236236
void *sharable_ptr;
237237
if (cudaError_t err = cudaMallocHost(&sharable_ptr, sizeof(void *)))

llvm/include/llvm/MCA/HardwareUnits/LSUnit.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ class LSUnitBase : public HardwareUnit {
210210
/// True if loads don't alias with stores.
211211
///
212212
/// By default, the LS unit assumes that loads and stores don't alias with
213-
/// eachother. If this field is set to false, then loads are always assumed to
214-
/// alias with stores.
213+
/// each other. If this field is set to false, then loads are always assumed
214+
/// to alias with stores.
215215
const bool NoAlias;
216216

217217
/// Used to map group identifiers to MemoryGroups.

llvm/include/llvm/ProfileData/CtxInstrContextNode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// NOTE!
1111
// llvm/lib/ProfileData/CtxInstrContextNode.h and
1212
// compiler-rt/lib/ctx_profile/CtxInstrContextNode.h
13-
// must be exact copies of eachother
13+
// must be exact copies of each other
1414
//
1515
// compiler-rt creates these objects as part of the instrumentation runtime for
1616
// contextual profiling. LLVM only consumes them to convert a contextual tree

llvm/lib/Target/X86/X86.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ FunctionPass *createX86IndirectThunksPass();
145145
FunctionPass *createX86ReturnThunksPass();
146146

147147
/// This pass ensures instructions featuring a memory operand
148-
/// have distinctive <LineNumber, Discriminator> (with respect to eachother)
148+
/// have distinctive <LineNumber, Discriminator> (with respect to each other)
149149
FunctionPass *createX86DiscriminateMemOpsPass();
150150

151151
/// This pass applies profiling information to insert cache prefetches.

mlir/test/Target/LLVMIR/openmp-reduction-init-arg.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module {
2222
%84 = llvm.alloca %83 x !llvm.struct<(ptr, i64, i32, i8, i8, i8, i8, array<1 x array<3 x i64>>)> : (i64) -> !llvm.ptr
2323
%86 = llvm.mlir.constant(1 : i64) : i64
2424
%87 = llvm.alloca %86 x !llvm.struct<(ptr, i64, i32, i8, i8, i8, i8, array<1 x array<3 x i64>>)> : (i64) -> !llvm.ptr
25-
// test multiple reduction variables to ensure they don't intefere with eachother
25+
// test multiple reduction variables to ensure they don't intefere with each other
2626
// when inlining the reduction init region multiple times
2727
omp.parallel reduction(byref @add_reduction_byref_box_Uxf64 %84 -> %arg3, byref @add_reduction_byref_box_Uxf64 %87 -> %arg4 : !llvm.ptr, !llvm.ptr) {
2828
omp.terminator

openmp/runtime/src/kmp_stats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ class counter {
596596
597597
*MORE ON NEST_LEVEL*
598598
The nest level is used in the bar graph that represents the timeline.
599-
Its main purpose is for showing how events are nested inside eachother.
599+
Its main purpose is for showing how events are nested inside each other.
600600
For example, say events, A, B, and C are recorded. If the timeline
601601
looks like this:
602602

0 commit comments

Comments
 (0)