Author: Jay Foad Date: 2026-11-13T20:59:43Z New Revision: 6edac5ba6d0cccbcc3b21ab04a32d159612a1756
URL: https://github.com/llvm/llvm-project/commit/6edac5ba6d0cccbcc3b21ab04a32d159612a1756 DIFF: https://github.com/llvm/llvm-project/commit/6edac5ba6d0cccbcc3b21ab04a32d159612a1756.diff LOG: Fix typo "suppport" (#242418) Added: Modified: clang/lib/Basic/Targets/PPC.cpp clang/lib/Driver/SanitizerArgs.cpp flang/lib/Evaluate/fold-logical.cpp llvm/include/llvm/Remarks/RemarkStreamer.h llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp llvm/lib/Transforms/Utils/IntegerDivision.cpp llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp llvm/tools/llvm-jitlink/llvm-jitlink.cpp mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td mlir/include/mlir/Dialect/MemRef/IR/MemoryAccessOpInterfaces.td mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp mlir/test/Dialect/Vector/vector-sink.mlir Removed: ################################################################################ diff --git a/clang/lib/Basic/Targets/PPC.cpp b/clang/lib/Basic/Targets/PPC.cpp index e9170199c35fb3..fea28c127a94dd 100644 --- a/clang/lib/Basic/Targets/PPC.cpp +++ b/clang/lib/Basic/Targets/PPC.cpp @@ -928,11 +928,10 @@ bool PPCTargetInfo::validateCpuIs(StringRef CPUName) const { AIXID) \ .Case(NAME, {Linux_SUPPORT_METHOD, AIX_SUPPORT_METHOD}) - std::pair<unsigned, unsigned> SuppportMethod = + std::pair<unsigned, unsigned> SupportMethod = llvm::StringSwitch<std::pair<unsigned, unsigned>>(CPUName) #include "llvm/TargetParser/PPCTargetParser.def" .Default({BUILTIN_PPC_UNSUPPORTED, BUILTIN_PPC_UNSUPPORTED}); - return Triple.isOSLinux() - ? (SuppportMethod.first != BUILTIN_PPC_UNSUPPORTED) - : (SuppportMethod.second != BUILTIN_PPC_UNSUPPORTED); + return Triple.isOSLinux() ? (SupportMethod.first != BUILTIN_PPC_UNSUPPORTED) + : (SupportMethod.second != BUILTIN_PPC_UNSUPPORTED); } diff --git a/clang/lib/Driver/SanitizerArgs.cpp b/clang/lib/Driver/SanitizerArgs.cpp index 7b46553d035b5b..48a03b00759530 100644 --- a/clang/lib/Driver/SanitizerArgs.cpp +++ b/clang/lib/Driver/SanitizerArgs.cpp @@ -418,7 +418,7 @@ bool SanitizerArgs::needsCfiCrossDsoRt() const { } bool SanitizerArgs::needsCfiCrossDsoDiagRt() const { - // UBSsan handles CFI diagnostics without cross-DSO suppport. + // UBSsan handles CFI diagnostics without cross-DSO support. return (Sanitizers.Mask & SanitizerKind::CFI & ~TrapSanitizers.Mask) && CfiCrossDso && !ImplicitCfiRuntime; } diff --git a/flang/lib/Evaluate/fold-logical.cpp b/flang/lib/Evaluate/fold-logical.cpp index cda9a746d81d75..151295336d5e58 100644 --- a/flang/lib/Evaluate/fold-logical.cpp +++ b/flang/lib/Evaluate/fold-logical.cpp @@ -708,7 +708,7 @@ Expr<Type<TypeCategory::Logical>> FoldIntrinsicFunction(FoldingContext &context, const Expr<SomeType> &value{values.begin()->second.value()}; if (auto flag{ToInt64(value)}) { if (flag != _FORTRAN_RUNTIME_IEEE_DENORM) { - // Check for suppport for standard exceptions. + // Check for support for standard exceptions. return MakeConstantExpr<T>(kind, context.targetCharacteristics().ieeeFeatures().test( IeeeFeature::Flags)); diff --git a/llvm/include/llvm/Remarks/RemarkStreamer.h b/llvm/include/llvm/Remarks/RemarkStreamer.h index 77898fba9f29a0..e18467cc55b144 100644 --- a/llvm/include/llvm/Remarks/RemarkStreamer.h +++ b/llvm/include/llvm/Remarks/RemarkStreamer.h @@ -78,7 +78,7 @@ class RemarkStreamer final { LLVM_ABI bool matchesFilter(StringRef Str); /// Check if the remarks NEED to have metadata in an object section LLVM_ABI bool needsSection() const; - /// Check if the remarks should store associated metadata if suppported + /// Check if the remarks should store associated metadata if supported LLVM_ABI bool wantsSection() const; }; } // end namespace remarks diff --git a/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp b/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp index 36f23e6b0ac57d..27e93b22bf45d7 100644 --- a/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp +++ b/llvm/lib/ExecutionEngine/Orc/TargetProcess/JITLoaderVTune.cpp @@ -193,9 +193,7 @@ static Error unsupportedBatch(const VTuneMethodBatch &MB) { inconvertibleErrorCode()); } -static void unsuppported(const std::vector<std::pair<uint64_t, uint64_t>> &UM) { - -} +static void unsupported(const std::vector<std::pair<uint64_t, uint64_t>> &UM) {} extern "C" llvm::orc::shared::CWrapperFunctionBuffer llvm_orc_registerVTuneImpl(const char *ArgData, size_t ArgSize) { @@ -209,7 +207,7 @@ extern "C" llvm::orc::shared::CWrapperFunctionBuffer llvm_orc_unregisterVTuneImpl(const char *ArgData, size_t ArgSize) { using namespace orc::shared; return WrapperFunction<void(SPSVTuneUnloadedMethodIDs)>::handle( - ArgData, ArgSize, unsuppported) + ArgData, ArgSize, unsupported) .release(); } diff --git a/llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp b/llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp index 2d9bc92bc107f1..89f024ca8a5dc9 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp +++ b/llvm/lib/Target/AMDGPU/AMDGPULowerBufferFatPointers.cpp @@ -63,7 +63,7 @@ // of resources and vectors of offsets are concatentated before being stored to // memory) are handled through implementing `inttoptr` and `ptrtoint` only. // -// Atomics operations on `ptr addrspace(7)` values are not suppported, as the +// Atomics operations on `ptr addrspace(7)` values are not supported, as the // hardware does not include a 160-bit atomic. // // In order to save on O(N) work and to ensure that the contents type diff --git a/llvm/lib/Transforms/Utils/IntegerDivision.cpp b/llvm/lib/Transforms/Utils/IntegerDivision.cpp index 9180c98cb45ebe..d3a95302814730 100644 --- a/llvm/lib/Transforms/Utils/IntegerDivision.cpp +++ b/llvm/lib/Transforms/Utils/IntegerDivision.cpp @@ -491,7 +491,7 @@ bool llvm::expandDivision(BinaryOperator *Div) { /// Generate code to compute the remainder of two integers of bitwidth up to /// 32 bits. Uses the above routines and extends the inputs/truncates the /// outputs to operate in 32 bits; that is, these routines are good for targets -/// that have no or very little suppport for smaller than 32 bit integer +/// that have no or very little support for smaller than 32 bit integer /// arithmetic. /// /// Replace Rem with emulation code. diff --git a/llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp b/llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp index 6a5120bc56636d..e2d037daf073c9 100644 --- a/llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp +++ b/llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp @@ -189,7 +189,7 @@ Error X86LbrCounter::checkLbrSupport() { return Error::success(); return make_error<StringError>( - "LBR format with cycles is not suppported on the host.", + "LBR format with cycles is not supported on the host.", errc::not_supported); } diff --git a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp index 1fbb27fe6c28ff..6fd97de30a5b85 100644 --- a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp +++ b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp @@ -225,7 +225,7 @@ static cl::list<std::string> InputArgv("args", cl::Positional, static cl::opt<bool> DebuggerSupport("debugger-support", - cl::desc("Enable debugger suppport (default = !-noexec)"), + cl::desc("Enable debugger support (default = !-noexec)"), cl::init(true), cl::Hidden, cl::cat(JITLinkCategory)); static cl::opt<bool> PerfSupport("perf-support", diff --git a/mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td b/mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td index d8e458b97f18f1..619ad170120ff7 100644 --- a/mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td +++ b/mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td @@ -1764,7 +1764,7 @@ def ROCDL_LoadAsyncToLDSOp : stored values to - you need to use the `rocdl.asyncmark` and `rocdl.wait.asyncmark` operations to explicitly group these operations and wait for their completion. - Available on gfx10 and earlier with varying suppported values of `size`. + Available on gfx10 and earlier with varying supported values of `size`. Example: ```mlir diff --git a/mlir/include/mlir/Dialect/MemRef/IR/MemoryAccessOpInterfaces.td b/mlir/include/mlir/Dialect/MemRef/IR/MemoryAccessOpInterfaces.td index b599eca9f38d58..70fffd538108da 100644 --- a/mlir/include/mlir/Dialect/MemRef/IR/MemoryAccessOpInterfaces.td +++ b/mlir/include/mlir/Dialect/MemRef/IR/MemoryAccessOpInterfaces.td @@ -183,7 +183,7 @@ def IndexedMemCopyOpInterface : OpInterface<"IndexedMemCopyOpInterface"> { Note that, unlike the method on indexed accessors, this method doesn't currently allow for the possibility of cloning since DMA ops generally - do not return results. If needed, such suppport could be added in + do not return results. If needed, such support could be added in the future. The implementation is responsible for issuing rewriter notifications diff --git a/mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp b/mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp index 77eda4062ec0c1..1e3d647417698b 100644 --- a/mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp +++ b/mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp @@ -530,7 +530,7 @@ static bool isFusionProfitable(AffineForOp srcForOp, // producer scenarios will still go through profitability analysis // if only one of the stores is involved in the producer-consumer // relationship of the candidate loops. - // TODO: Suppport multiple producer stores in profitability + // TODO: Support multiple producer stores in profitability // analysis. if (producerStores.size() > 1) { LDBG() << "Limited profitability analysis. Not " diff --git a/mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp b/mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp index 4914cca2d5ee32..80e1d5a3305879 100644 --- a/mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp +++ b/mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp @@ -96,7 +96,7 @@ TosaProfileCompliance::TosaProfileCompliance() { static const TypeInfo fp8e5m2T = {mlir::Float8E5M2Type::getTypeID(), 8}; // micro-scaling formats - // Note: these types exist to suppport the deprecated block_scaled operations + // Note: these types exist to support the deprecated block_scaled operations // and can be removed once those operations are removed. static const TypeInfo fp6e2m3T = {mlir::Float6E2M3FNType::getTypeID(), 6}; static const TypeInfo fp6e3m2T = {mlir::Float6E3M2FNType::getTypeID(), 6}; diff --git a/mlir/test/Dialect/Vector/vector-sink.mlir b/mlir/test/Dialect/Vector/vector-sink.mlir index ac1e4fa1ea1cff..95d2454b48e40a 100644 --- a/mlir/test/Dialect/Vector/vector-sink.mlir +++ b/mlir/test/Dialect/Vector/vector-sink.mlir @@ -751,7 +751,7 @@ func.func @negative_extract_not_elementwise(%arg0: vector<4xi64>) -> i64 { // CHECK-LABEL: @negative_extract_vec_fma // CHECK-SAME: (%[[ARG0:.*]]: vector<4xf32>, %[[ARG1:.*]]: vector<4xf32>, %[[ARG2:.*]]: vector<4xf32>) func.func @negative_extract_vec_fma(%arg0: vector<4xf32>, %arg1: vector<4xf32>, %arg2: vector<4xf32>) -> f32 { -// `vector.fma` doesn't suppport scalars. +// `vector.fma` doesn't support scalars. // CHECK: %[[FMA:.*]] = vector.fma %[[ARG0]], %[[ARG1]], %[[ARG2]] : vector<4xf32> // CHECK: %[[RES:.*]] = vector.extract %[[FMA]][1] : f32 from vector<4xf32> // CHECK: return %[[RES]] : f32 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
