[MLIR][docs] Fixes to operation syntax in Lang Ref
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D99922
This commit is contained in:
parent
0057ec8034
commit
22411d8072
|
@ -279,17 +279,18 @@ GPUs), and are required to align with the LLVM definition of these intrinsics.
|
|||
Syntax:
|
||||
|
||||
```
|
||||
operation ::= op-result-list? (generic-operation | custom-operation)
|
||||
trailing-location?
|
||||
generic-operation ::= string-literal `(` value-use-list? `)` successor-list?
|
||||
(`(` region-list `)`)? dictionary-attribute? `:` function-type
|
||||
custom-operation ::= bare-id custom-operation-format
|
||||
op-result-list ::= op-result (`,` op-result)* `=`
|
||||
op-result ::= value-id (`:` integer-literal)
|
||||
successor-list ::= successor (`,` successor)*
|
||||
successor ::= caret-id (`:` bb-arg-list)?
|
||||
region-list ::= region (`,` region)*
|
||||
trailing-location ::= (`loc` `(` location `)`)?
|
||||
operation ::= op-result-list? (generic-operation | custom-operation)
|
||||
trailing-location?
|
||||
generic-operation ::= string-literal `(` value-use-list? `)` successor-list?
|
||||
region-list? dictionary-attribute? `:` function-type
|
||||
custom-operation ::= bare-id custom-operation-format
|
||||
op-result-list ::= op-result (`,` op-result)* `=`
|
||||
op-result ::= value-id (`:` integer-literal)
|
||||
successor-list ::= `[` successor (`,` successor)* `]`
|
||||
successor ::= caret-id (`:` bb-arg-list)?
|
||||
region-list ::= `(` region (`,` region)* `)`
|
||||
dictionary-attribute ::= `{` (attribute-entry (`,` attribute-entry)*)? `}`
|
||||
trailing-location ::= (`loc` `(` location `)`)?
|
||||
```
|
||||
|
||||
MLIR introduces a uniform concept called _operations_ to enable describing
|
||||
|
|
Loading…
Reference in a new issue