Skip to content

Commit eaf51c3

Browse files
author
git apple-llvm automerger
committed
Merge commit '3d6cf533cb25' from llvm.org/main into next
2 parents fe940ed + 3d6cf53 commit eaf51c3

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

mlir/docs/DefiningDialects/Operations.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -640,10 +640,11 @@ The available directives are as follows:
640640

641641
* `attr-dict`
642642

643-
- Represents the attribute dictionary of the operation. Any inherent
644-
- attributes that are not used elsewhere in the format are printed as
645-
- part of the attribute dictionary unless a `prop-dict` is present.
646-
- Discardable attributes are always part of the `attr-dict`.
643+
- Represents the attribute dictionary of the operation.
644+
- Any inherent attributes that are not used elsewhere in the format are
645+
printed as part of the attribute dictionary unless a `prop-dict` is
646+
present.
647+
- Discardable attributes are always part of the `attr-dict`.
647648

648649
* `attr-dict-with-keyword`
649650

@@ -654,23 +655,23 @@ The available directives are as follows:
654655

655656
- Represents the properties of the operation converted to a dictionary.
656657
- Any property or inherent attribute that are not used elsewhere in the
657-
- format are parsed and printed as part of this dictionary.
658+
format are parsed and printed as part of this dictionary.
658659
- If present, the `attr-dict` will not contain any inherent attributes.
659660

660-
* `custom` < UserDirective > ( Params )
661+
* `custom < UserDirective > ( Params )`
661662

662663
- Represents a custom directive implemented by the user in C++.
663664
- See the [Custom Directives](#custom-directives) section below for more
664665
details.
665666

666-
* `functional-type` ( inputs , outputs )
667+
* `functional-type ( inputs , outputs )`
667668

668669
- Formats the `inputs` and `outputs` arguments as a
669670
[function type](../Dialects/Builtin.md/#functiontype).
670671
- The constraints on `inputs` and `outputs` are the same as the `input` of
671672
the `type` directive.
672673

673-
* `oilist` ( \`keyword\` elements | \`otherKeyword\` elements ...)
674+
* ``oilist ( `keyword` elements | `otherKeyword` elements ...)``
674675

675676
- Represents an optional order-independent list of clauses. Each clause
676677
has a keyword and corresponding assembly format.
@@ -682,7 +683,7 @@ The available directives are as follows:
682683

683684
- Represents all of the operands of an operation.
684685

685-
* `ref` ( input )
686+
* `ref ( input )`
686687

687688
- Represents a reference to the a variable or directive, that must have
688689
already been resolved, that may be used as a parameter to a `custom`
@@ -703,13 +704,13 @@ The available directives are as follows:
703704

704705
- Represents all of the successors of an operation.
705706

706-
* `type` ( input )
707+
* `type ( input )`
707708

708709
- Represents the type of the given input.
709710
- `input` must be either an operand or result [variable](#variables), the
710711
`operands` directive, or the `results` directive.
711712

712-
* `qualified` ( type_or_attribute )
713+
* `qualified ( type_or_attribute )`
713714

714715
- Wraps a `type` directive or an attribute parameter.
715716
- Used to force printing the type or attribute prefixed with its dialect
@@ -1700,11 +1701,11 @@ To allow more convenient syntax, helper classes exist for TableGen classes
17001701
which are commonly used as anonymous definitions. These currently include:
17011702

17021703
* `DeprecatedOpBuilder`: Can be used in place of `OpBuilder` with the same
1703-
arguments except taking the reason as first argument, e.g.
1704+
arguments except taking the reason as first argument, e.g.
17041705
`DeprecatedOpBuilder<"use 'build' with foo instead", (ins "int":$bar)>`
17051706

1706-
Note: Support for the `CppDeprecated` mechanism has to be implemented by
1707-
every code generator separately.
1707+
Note: Support for the `CppDeprecated` mechanism has to be implemented by
1708+
every code generator separately.
17081709

17091710
### Requirements and existing mechanisms analysis
17101711

0 commit comments

Comments
 (0)