Skip to content

[mlir][doc] Remove duplicate syntax formats #73343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -838,12 +838,6 @@ def Arith_SubFOp : Arith_FloatBinaryOp<"subf"> {
def Arith_MaximumFOp : Arith_FloatBinaryOp<"maximumf", [Commutative]> {
let summary = "floating-point maximum operation";
let description = [{
Syntax:

```
operation ::= ssa-id `=` `arith.maximumf` ssa-use `,` ssa-use `:` type
```

Returns the maximum of the two arguments, treating -0.0 as less than +0.0.
If one of the arguments is NaN, then the result is also NaN.

Expand All @@ -864,12 +858,6 @@ def Arith_MaximumFOp : Arith_FloatBinaryOp<"maximumf", [Commutative]> {
def Arith_MaxNumFOp : Arith_FloatBinaryOp<"maxnumf", [Commutative]> {
let summary = "floating-point maximum operation";
let description = [{
Syntax:

```
operation ::= ssa-id `=` `arith.maxnumf` ssa-use `,` ssa-use `:` type
```

Returns the maximum of the two arguments.
If the arguments are -0.0 and +0.0, then the result is either of them.
If one of the arguments is NaN, then the result is the other argument.
Expand Down Expand Up @@ -910,12 +898,6 @@ def Arith_MaxUIOp : Arith_TotalIntBinaryOp<"maxui", [Commutative]> {
def Arith_MinimumFOp : Arith_FloatBinaryOp<"minimumf", [Commutative]> {
let summary = "floating-point minimum operation";
let description = [{
Syntax:

```
operation ::= ssa-id `=` `arith.minimumf` ssa-use `,` ssa-use `:` type
```

Returns the minimum of the two arguments, treating -0.0 as less than +0.0.
If one of the arguments is NaN, then the result is also NaN.

Expand All @@ -936,12 +918,6 @@ def Arith_MinimumFOp : Arith_FloatBinaryOp<"minimumf", [Commutative]> {
def Arith_MinNumFOp : Arith_FloatBinaryOp<"minnumf", [Commutative]> {
let summary = "floating-point minimum operation";
let description = [{
Syntax:

```
operation ::= ssa-id `=` `arith.minnumf` ssa-use `,` ssa-use `:` type
```

Returns the minimum of the two arguments.
If the arguments are -0.0 and +0.0, then the result is either of them.
If one of the arguments is NaN, then the result is the other argument.
Expand Down
6 changes: 0 additions & 6 deletions mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,6 @@ def ExpOp : ComplexUnaryOp<"exp", [SameOperandsAndResultType]> {
def Expm1Op : ComplexUnaryOp<"expm1", [SameOperandsAndResultType]> {
let summary = "computes exponential of a complex number minus 1";
let description = [{
Syntax:

```
operation ::= ssa-id `=` `complex.expm1` ssa-use `:` type
```

complex.expm1(x) := complex.exp(x) - 1

Example:
Expand Down
6 changes: 0 additions & 6 deletions mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -447,12 +447,6 @@ def MemRef_CastOp : MemRef_Op<"cast", [
]> {
let summary = "memref cast operation";
let description = [{
Syntax:

```
operation ::= ssa-id `=` `memref.cast` ssa-use `:` type `to` type
```

The `memref.cast` operation converts a memref from one type to an equivalent
type with a compatible shape. The source and destination types are
compatible if:
Expand Down
6 changes: 0 additions & 6 deletions mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -2203,12 +2203,6 @@ def Vector_TypeCastOp :
super-vectorization operational. It can be seen as a special case of the
`view` operation but scoped in the super-vectorization context.

Syntax:

```
operation ::= `vector.type_cast` ssa-use : memref-type to memref-type
```

Example:

```mlir
Expand Down