Sprite created this revision. Sprite added a project: LLVM. Herald added subscribers: Moerafaat, zero9178, steakhal, bzcheeseman, kosarev, sdasgup3, carlosgalvezp, wenzhicui, wrengr, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, martong, Joonsoo, kerbowa, liufengdb, aartbik, mgester, arpith-jacob, csigg, antiagainst, shauheen, rriddle, mehdi_amini, pengfei, hiraditya, jvesely. Herald added a reviewer: jpienaar. Herald added a reviewer: NoQ. Herald added a reviewer: njames93. Herald added a project: All. Sprite requested review of this revision. Herald added a reviewer: nicolasvasilache. Herald added subscribers: cfe-commits, llvm-commits, stephenneuendorffer, nicolasvasilache. Herald added projects: clang, MLIR, clang-tools-extra.
Just found some typos while reading the llvm/circt project. - compliment -> complement - emitsd -> emits Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D138668 Files: clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp clang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp clang/test/CodeGen/X86/x86-GCC-inline-asm-Y-constraints.c llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst llvm/lib/CodeGen/CodeGenPrepare.cpp llvm/lib/CodeGen/SplitKit.h llvm/test/MC/X86/x86-GCC-inline-asm-Y-constraints.ll mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td
Index: mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td =================================================================== --- mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td +++ mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td @@ -690,7 +690,7 @@ %shape' = shape.const_shape [1, 2] : !shape.shape ``` - This operation is the compliment of `shape_of` wrt ValueShape values. + This operation is the complement of `shape_of` wrt ValueShape values. }]; let arguments = (ins AnyTypeOf<[1DTensorOf<[AnyInteger, Index]>, Shape_ValueShapeType]>:$arg); Index: llvm/test/MC/X86/x86-GCC-inline-asm-Y-constraints.ll =================================================================== --- llvm/test/MC/X86/x86-GCC-inline-asm-Y-constraints.ll +++ llvm/test/MC/X86/x86-GCC-inline-asm-Y-constraints.ll @@ -1,5 +1,5 @@ ; RUN: llc -mtriple=x86_64-apple-darwin -mcpu skx < %s | FileCheck %s -; This test compliments the .c test under clang/test/CodeGen/. We check +; This test complements the .c test under clang/test/CodeGen/. We check ; if the inline asm constraints are respected in the generated code. ; Function Attrs: nounwind Index: llvm/lib/CodeGen/SplitKit.h =================================================================== --- llvm/lib/CodeGen/SplitKit.h +++ llvm/lib/CodeGen/SplitKit.h @@ -487,7 +487,7 @@ /// overlapIntv - Indicate that all instructions in range should use the open /// interval if End does not have tied-def usage of the register and in this - /// case compliment interval is used. Let the complement interval be live. + /// case complement interval is used. Let the complement interval be live. /// /// This doubles the register pressure, but is sometimes required to deal with /// register uses after the last valid split point. Index: llvm/lib/CodeGen/CodeGenPrepare.cpp =================================================================== --- llvm/lib/CodeGen/CodeGenPrepare.cpp +++ llvm/lib/CodeGen/CodeGenPrepare.cpp @@ -4023,11 +4023,11 @@ auto IVInc = getIVIncrement(PN, &LI); if (!IVInc) return None; - // TODO: The result of the intrinsics above is two-compliment. However when + // TODO: The result of the intrinsics above is two-complement. However when // IV inc is expressed as add or sub, iv.next is potentially a poison value. // If it has nuw or nsw flags, we need to make sure that these flags are // inferrable at the point of memory instruction. Otherwise we are replacing - // well-defined two-compliment computation with poison. Currently, to avoid + // well-defined two-complement computation with poison. Currently, to avoid // potentially complex analysis needed to prove this, we reject such cases. if (auto *OIVInc = dyn_cast<OverflowingBinaryOperator>(IVInc->first)) if (OIVInc->hasNoSignedWrap() || OIVInc->hasNoUnsignedWrap()) Index: llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst =================================================================== --- llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst +++ llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst @@ -222,7 +222,7 @@ infinite precision offsets to allow it to correctly track a series of positive and negative offsets that may transiently overflow or underflow, but end up in range. This is simple for the arithmetic operations as they are defined in terms -of two's compliment arithmetic on a base type of a fixed size. Therefore, the +of two's complement arithmetic on a base type of a fixed size. Therefore, the offset operation define that integer overflow is ill-formed. This is in contrast to the ``DW_OP_plus``, ``DW_OP_plus_uconst``, and ``DW_OP_minus`` arithmetic operations which define that it causes wrap-around. Index: clang/test/CodeGen/X86/x86-GCC-inline-asm-Y-constraints.c =================================================================== --- clang/test/CodeGen/X86/x86-GCC-inline-asm-Y-constraints.c +++ clang/test/CodeGen/X86/x86-GCC-inline-asm-Y-constraints.c @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -ffreestanding -triple=x86_64-apple-darwin -target-cpu skx %s -emit-llvm -o - | FileCheck %s #include <xmmintrin.h> -// This test is complimented by the .ll test under llvm/test/MC/X86/. +// This test is complemented by the .ll test under llvm/test/MC/X86/. // At this level we can only check if the constarints are passed correctly // from inline asm to llvm IR. Index: clang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp =================================================================== --- clang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp +++ clang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp @@ -31,8 +31,8 @@ using namespace tooling; namespace { -/// Emitsd minimal diagnostics (report message + notes) for the 'none' output -/// type to the standard error, or to compliment many others. Emits detailed +/// Emits minimal diagnostics (report message + notes) for the 'none' output +/// type to the standard error, or to complement many others. Emits detailed /// diagnostics in textual format for the 'text' output type. class TextDiagnostics : public PathDiagnosticConsumer { PathDiagnosticConsumerOptions DiagOpts; Index: clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp =================================================================== --- clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp +++ clang-tools-extra/clang-tidy/abseil/DurationRewriter.cpp @@ -273,7 +273,7 @@ const Expr *Node) { const Expr &RootNode = *Node->IgnoreParenImpCasts(); - // First check to see if we can undo a complimentary function call. + // First check to see if we can undo a complementary function call. if (llvm::Optional<std::string> MaybeRewrite = rewriteInverseDurationCall(Result, Scale, RootNode)) return *MaybeRewrite; @@ -291,7 +291,7 @@ const Expr *Node) { const Expr &RootNode = *Node->IgnoreParenImpCasts(); - // First check to see if we can undo a complimentary function call. + // First check to see if we can undo a complementary function call. if (llvm::Optional<std::string> MaybeRewrite = rewriteInverseTimeCall(Result, Scale, RootNode)) return *MaybeRewrite;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits