diff --git a/mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp b/mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp index a8e38aef7ad3..4ab8c5b501c9 100644 --- a/mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp +++ b/mlir/examples/toy/Ch5/mlir/LowerToAffineLoops.cpp @@ -241,8 +241,8 @@ struct TransposeOpLowering : public ConversionPattern { // Generate an adaptor for the remapped operands of the TransposeOp. // This allows for using the nice named accessors that are generated // by the ODS. - toy::TransposeOpOperandAdaptor tranposeAdaptor(memRefOperands); - Value *input = tranposeAdaptor.input(); + toy::TransposeOpOperandAdaptor transposeAdaptor(memRefOperands); + Value *input = transposeAdaptor.input(); // Transpose the elements by generating a load from the reverse // indices. diff --git a/mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp b/mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp index a8e38aef7ad3..4ab8c5b501c9 100644 --- a/mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp +++ b/mlir/examples/toy/Ch6/mlir/LowerToAffineLoops.cpp @@ -241,8 +241,8 @@ struct TransposeOpLowering : public ConversionPattern { // Generate an adaptor for the remapped operands of the TransposeOp. // This allows for using the nice named accessors that are generated // by the ODS. - toy::TransposeOpOperandAdaptor tranposeAdaptor(memRefOperands); - Value *input = tranposeAdaptor.input(); + toy::TransposeOpOperandAdaptor transposeAdaptor(memRefOperands); + Value *input = transposeAdaptor.input(); // Transpose the elements by generating a load from the reverse // indices. diff --git a/mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp b/mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp index a8e38aef7ad3..4ab8c5b501c9 100644 --- a/mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp +++ b/mlir/examples/toy/Ch7/mlir/LowerToAffineLoops.cpp @@ -241,8 +241,8 @@ struct TransposeOpLowering : public ConversionPattern { // Generate an adaptor for the remapped operands of the TransposeOp. // This allows for using the nice named accessors that are generated // by the ODS. - toy::TransposeOpOperandAdaptor tranposeAdaptor(memRefOperands); - Value *input = tranposeAdaptor.input(); + toy::TransposeOpOperandAdaptor transposeAdaptor(memRefOperands); + Value *input = transposeAdaptor.input(); // Transpose the elements by generating a load from the reverse // indices. diff --git a/mlir/g3doc/DeclarativeRewrites.md b/mlir/g3doc/DeclarativeRewrites.md index c7276daccd83..e319b7d7a83e 100644 --- a/mlir/g3doc/DeclarativeRewrites.md +++ b/mlir/g3doc/DeclarativeRewrites.md @@ -50,7 +50,7 @@ features: * Matching and generating ops with block arguments. * Matching multi-result ops in nested patterns. * Matching and generating variadic operand/result ops in nested patterns. -* Packing and unpacking variaidc operands/results during generation. +* Packing and unpacking variadic operands/results during generation. * [`NativeCodeCall`](#native-code-call-transforming-the-generated-op) returning more than one results. diff --git a/mlir/g3doc/Dialects/SPIR-V.md b/mlir/g3doc/Dialects/SPIR-V.md index 82922de6d11e..58bd5ee828ff 100644 --- a/mlir/g3doc/Dialects/SPIR-V.md +++ b/mlir/g3doc/Dialects/SPIR-V.md @@ -474,7 +474,7 @@ the representational differences between SPIR-V dialect and binary format: Similarly, a few transformations are performed during deserialization: * Instructions for execution environment requirements will be placed as - attribues on `spv.module`. + attributes on `spv.module`. * `OpConstant*` instructions are materialized as `spv.constant` at each use site. * `OpPhi` instructions are converted to block arguments. diff --git a/mlir/g3doc/OpDefinitions.md b/mlir/g3doc/OpDefinitions.md index 25865593800a..b72b9937ebb3 100644 --- a/mlir/g3doc/OpDefinitions.md +++ b/mlir/g3doc/OpDefinitions.md @@ -263,7 +263,7 @@ TODO: Design and implement more primitive constraints Similar to operands, results are specified inside the `dag`-typed `results`, led by `outs`: -```tablgen +```tablegen let results = (outs :$, ... diff --git a/mlir/g3doc/Tutorials/Toy/Ch-2.md b/mlir/g3doc/Tutorials/Toy/Ch-2.md index d797624ed727..ce46788f4aef 100755 --- a/mlir/g3doc/Tutorials/Toy/Ch-2.md +++ b/mlir/g3doc/Tutorials/Toy/Ch-2.md @@ -434,7 +434,7 @@ invariants of the operation have already been verified: ```tablegen def ConstantOp : Toy_Op<"constant", [NoSideEffect]> { // Provide a summary and description for this operation. This can be used to - // auto-generate documenatation of the operations within our dialect. + // auto-generate documentation of the operations within our dialect. let summary = "constant operation"; let description = [{ Constant operation turns a literal into an SSA value. The data is attached diff --git a/mlir/g3doc/Tutorials/Toy/Ch-5.md b/mlir/g3doc/Tutorials/Toy/Ch-5.md index 2cf5e59d1b31..5573354aef1c 100644 --- a/mlir/g3doc/Tutorials/Toy/Ch-5.md +++ b/mlir/g3doc/Tutorials/Toy/Ch-5.md @@ -118,8 +118,8 @@ struct TransposeOpLowering : public mlir::ConversionPattern { // This allows for using the nice named accessors that are generated // by the ODS. This adaptor is automatically provided by the ODS // framework. - TransposeOpOperandAdaptor tranposeAdaptor(memRefOperands); - mlir::Value *input = tranposeAdaptor.input(); + TransposeOpOperandAdaptor transposeAdaptor(memRefOperands); + mlir::Value *input = transposeAdaptor.input(); // Transpose the elements by generating a load from the reverse // indices.