[libc-commits] [libc] e2fc68c - Typos: 'maxium', 'minium'

Hans Wennborg via libc-commits libc-commits at lists.llvm.org
Mon Oct 23 01:42:42 PDT 2023


Author: Hans Wennborg
Date: 2023-10-23T10:42:28+02:00
New Revision: e2fc68c3db8862ef90c1c8f31a314eac1f79633b

URL: https://github.com/llvm/llvm-project/commit/e2fc68c3db8862ef90c1c8f31a314eac1f79633b
DIFF: https://github.com/llvm/llvm-project/commit/e2fc68c3db8862ef90c1c8f31a314eac1f79633b.diff

LOG: Typos: 'maxium', 'minium'

Added: 
    

Modified: 
    libc/utils/gpu/server/rpc_server.h
    libcxx/include/__format/formatter_floating_point.h
    llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    llvm/test/CodeGen/AMDGPU/greedy-global-heuristic.mir
    llvm/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll
    llvm/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll
    llvm/test/Transforms/VectorCombine/load-insert-store.ll

Removed: 
    


################################################################################
diff  --git a/libc/utils/gpu/server/rpc_server.h b/libc/utils/gpu/server/rpc_server.h
index 2fde0001185c16b..a818aab4ced94b1 100644
--- a/libc/utils/gpu/server/rpc_server.h
+++ b/libc/utils/gpu/server/rpc_server.h
@@ -17,7 +17,7 @@
 extern "C" {
 #endif
 
-/// The maxium number of ports that can be opened for any server.
+/// The maximum number of ports that can be opened for any server.
 const uint64_t RPC_MAXIMUM_PORT_COUNT = 512;
 
 /// The symbol name associated with the client for use with the LLVM C library

diff  --git a/libcxx/include/__format/formatter_floating_point.h b/libcxx/include/__format/formatter_floating_point.h
index fbb8aa9200a76e7..9bf48df21961ddb 100644
--- a/libcxx/include/__format/formatter_floating_point.h
+++ b/libcxx/include/__format/formatter_floating_point.h
@@ -136,7 +136,7 @@ struct __traits<double> {
 
 /// Helper class to store the conversion buffer.
 ///
-/// Depending on the maxium size required for a value, the buffer is allocated
+/// Depending on the maximum size required for a value, the buffer is allocated
 /// on the stack or the heap.
 template <floating_point _Fp>
 class _LIBCPP_TEMPLATE_VIS __float_buffer {

diff  --git a/llvm/lib/Transforms/Vectorize/VectorCombine.cpp b/llvm/lib/Transforms/Vectorize/VectorCombine.cpp
index 5cbcb017f97c1b6..16efc3b2336f2a5 100644
--- a/llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+++ b/llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -1143,7 +1143,7 @@ static ScalarizationResult canScalarizeAccess(VectorType *VecTy, Value *Idx,
                                               const DominatorTree &DT) {
   // We do checks for both fixed vector types and scalable vector types.
   // This is the number of elements of fixed vector types,
-  // or the minium number of elements of scalable vector types.
+  // or the minimum number of elements of scalable vector types.
   uint64_t NumElements = VecTy->getElementCount().getKnownMinValue();
 
   if (auto *C = dyn_cast<ConstantInt>(Idx)) {

diff  --git a/llvm/test/CodeGen/AMDGPU/greedy-global-heuristic.mir b/llvm/test/CodeGen/AMDGPU/greedy-global-heuristic.mir
index 2e94de93a5176ae..6f1e5b89db88416 100644
--- a/llvm/test/CodeGen/AMDGPU/greedy-global-heuristic.mir
+++ b/llvm/test/CodeGen/AMDGPU/greedy-global-heuristic.mir
@@ -1,7 +1,7 @@
 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
 # RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=greedy -verify-machineinstrs -o - %s |FileCheck %s
 
-# Testcase is limited to 24 VGPRs. Only a maxiumum of 6 vreg_128s can
+# Testcase is limited to 24 VGPRs. Only a maximum of 6 vreg_128s can
 # be allocated at the same time.
 
 # This testcase is intended to stress the heuristic in

diff  --git a/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll b/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll
index d953f434f9ebd38..d633c2d74e3a6bd 100644
--- a/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll
+++ b/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll
@@ -3,7 +3,7 @@
 ;
 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | FileCheck %s
 
-; Check signed minium.
+; Check signed minimum.
 define i32 @f1(i32 %dummy, ptr %src, i32 %b) {
 ; CHECK-LABEL: f1:
 ; CHECK: l %r2, 0(%r3)

diff  --git a/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll b/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll
index 3a39161b32ddd2c..64e76e0a90eaf58 100644
--- a/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll
+++ b/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll
@@ -3,7 +3,7 @@
 ;
 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z10 | FileCheck %s
 
-; Check signed minium.
+; Check signed minimum.
 define i64 @f1(i64 %dummy, ptr %src, i64 %b) {
 ; CHECK-LABEL: f1:
 ; CHECK: lg %r2, 0(%r3)

diff  --git a/llvm/test/Transforms/VectorCombine/load-insert-store.ll b/llvm/test/Transforms/VectorCombine/load-insert-store.ll
index acf8b07a52cb07d..93565c1a708eba0 100644
--- a/llvm/test/Transforms/VectorCombine/load-insert-store.ll
+++ b/llvm/test/Transforms/VectorCombine/load-insert-store.ll
@@ -60,7 +60,7 @@ entry:
   ret void
 }
 
-; To verify the case that index exceeds the minium number
+; To verify the case that index exceeds the minimum number
 ; of elements of a scalable vector type.
 define void @insert_store_vscale_exceeds(ptr %q, i16 zeroext %s) {
 ; CHECK-LABEL: @insert_store_vscale_exceeds(


        


More information about the libc-commits mailing list