File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ Syntax:
142
142
143
143
```
144
144
affine-map-inline
145
- ::= dim-and-symbol-id -lists `->` multi-dim-affine-expr
145
+ ::= dim-and-symbol-value -lists `->` multi-dim-affine-expr
146
146
```
147
147
148
148
The identifiers in the dimensions and symbols lists must be unique. These are
@@ -227,7 +227,7 @@ Syntax of semi-affine maps:
227
227
228
228
```
229
229
semi-affine-map-inline
230
- ::= dim-and-symbol-id -lists `->` multi-dim-semi-affine-expr
230
+ ::= dim-and-symbol-value -lists `->` multi-dim-semi-affine-expr
231
231
```
232
232
233
233
Semi-affine maps may be defined inline at the point of use, or may be hoisted to
@@ -271,7 +271,7 @@ name.
271
271
integer-set-id ::= `#` suffix-id
272
272
273
273
integer-set-inline
274
- ::= dim-and-symbol-id -lists `:` '(' affine-constraint-conjunction? ')'
274
+ ::= dim-and-symbol-value -lists `:` '(' affine-constraint-conjunction? ')'
275
275
276
276
// Declarations of integer sets are at the top of the file.
277
277
integer-set-decl ::= integer-set-id `=` integer-set-inline
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ symbol-ref-id ::= `@` (suffix-id | string-literal) (`::` symbol-ref-id)?
207
207
value-id-list ::= value-id (`,` value-id)*
208
208
209
209
// Uses of value, e.g. in an operand list to an operation.
210
- value-use ::= value-id
210
+ value-use ::= value-id (`#` decimal-literal)?
211
211
value-use-list ::= value-use (`,` value-use)*
212
212
```
213
213
@@ -294,13 +294,13 @@ generic-operation ::= string-literal `(` value-use-list? `)` successor-list
294
294
`:` function-type
295
295
custom-operation ::= bare-id custom-operation-format
296
296
op-result-list ::= op-result (`,` op-result)* `=`
297
- op-result ::= value-id (`:` integer-literal)
297
+ op-result ::= value-id (`:` integer-literal)?
298
298
successor-list ::= `[` successor (`,` successor)* `]`
299
299
successor ::= caret-id (`:` block-arg-list)?
300
300
dictionary-properties ::= `<` dictionary-attribute `>`
301
301
region-list ::= `(` region (`,` region)* `)`
302
302
dictionary-attribute ::= `{` (attribute-entry (`,` attribute-entry)*)? `}`
303
- trailing-location ::= ( `loc` `(` location `)`)?
303
+ trailing-location ::= `loc` `(` location `)`
304
304
```
305
305
306
306
MLIR introduces a uniform concept called * operations* to enable describing many
You can’t perform that action at this time.
0 commit comments