Just found some typos while reading the llvm/circt project.
compliment -> complement
emitsd -> emits
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;
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;
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;
// 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.
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.
auto IVInc = getIVIncrement(PN, &LI);
if (!IVInc)
return std::nullopt;
- // 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())
/// 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.
; 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
%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);