@@ -186,9 +186,9 @@ def DecomposeOp : Op<Transform_Dialect, "structured.decompose",
186
186
187
187
This operation ignores non-Linalg ops and drops them in the return.
188
188
If all the operations referred to by the `target` handle decompose
189
- properly, the transform succeeds. Otherwise the transform silently fails.
190
- The return handle points to only the subset of successfully produced
191
- computational operations, which can be empty.
189
+ properly, the transform succeeds. Otherwise the transform produces a
190
+ silenceable failure. The return handle points to only the subset of
191
+ successfully produced computational operations, which can be empty.
192
192
}];
193
193
194
194
let arguments = (ins TransformHandleTypeInterface:$target);
@@ -336,11 +336,11 @@ def FuseIntoContainingOp :
336
336
337
337
#### Return modes
338
338
339
- If at least one producer could not be fused, this operation fails silently.
340
- This is the case when tiling fails or when no producer op could be found
341
- among the remaining producers that has at least one use within the
342
- containing op. I.e., "producers" that are not consumed within the containing
343
- op are rejected by this operation.
339
+ If at least one producer could not be fused, this operation produces a
340
+ silenceable failure. This is the case when tiling fails or when no
341
+ producer op could be found among the remaining producers that has at least
342
+ one use within the containing op. I.e., "producers" that are not consumed
343
+ within the containing op are rejected by this operation.
344
344
345
345
This operation consumes the producer handle.
346
346
This operation only reads the containing op handle.
@@ -374,10 +374,10 @@ def GeneralizeOp : Op<Transform_Dialect, "structured.generalize",
374
374
375
375
This operation ignores non-Linalg ops and drops them in the return.
376
376
If all the operations referred to by the `target` handle generalize
377
- properly, the transform succeeds. Otherwise the transform silently fails.
378
- The return handle points to only the subset of successfully produced
379
- equivalent generic operations, which can be empty or contain the original
380
- ops if they were already in generic form.
377
+ properly, the transform succeeds. Otherwise the transform produces a
378
+ silenceable failure. The return handle points to only the subset of
379
+ successfully produced equivalent generic operations, which can be empty or
380
+ contain the original ops if they were already in generic form.
381
381
}];
382
382
383
383
let arguments = (ins TransformHandleTypeInterface:$target);
@@ -450,7 +450,7 @@ def InterchangeOp : Op<Transform_Dialect, "structured.interchange",
450
450
This operation fails if the interchange attribute is invalid.
451
451
If all the operations referred to by the `target` handle interchange
452
452
properly, the transform succeeds.
453
- If any interchange fails, the transform definitely fails .
453
+ If any interchange fails, the transform produces a definite failure .
454
454
The return handle points to only the subset of successfully produced
455
455
interchanged operations, which can be empty.
456
456
}];
@@ -492,7 +492,7 @@ def LowerPackOp : Op<Transform_Dialect, "structured.lower_pack", [
492
492
#### Return modes
493
493
494
494
This operation ignores non-pack ops and drops them in the return.
495
- This operation produces a silenceableFailure if the rewrite fails for any
495
+ This operation produces a silenceable failure if the rewrite fails for any
496
496
reason.
497
497
If all the operations referred to by the `target` are rewritten, the
498
498
transform succeeds.
@@ -532,7 +532,7 @@ def LowerUnPackOp : Op<Transform_Dialect, "structured.lower_unpack", [
532
532
#### Return modes
533
533
534
534
This operation ignores non-unpack ops and drops them in the return.
535
- This operation produces a silenceableFailure if the rewrite fails for any
535
+ This operation produces a silenceable failure if the rewrite fails for any
536
536
reason.
537
537
If all the operations referred to by the `target` are rewritten, the
538
538
transform succeeds.
@@ -770,7 +770,7 @@ def PackOp : Op<Transform_Dialect, "structured.pack", [
770
770
#### Return modes
771
771
772
772
This operation applies to a single Linalg op, otherwise it fails.
773
- This operation may produce a definiteFailure if the packing fails for any
773
+ This operation may produce a definite failure if the packing fails for any
774
774
reason.
775
775
776
776
The returned handle point to the packed LinalgOp.
@@ -997,11 +997,12 @@ def PadOp : Op<Transform_Dialect, "structured.pad",
997
997
#### Return modes
998
998
999
999
This operation ignores non-Linalg ops and drops them in the return.
1000
- This operation may produce a definiteFailure if the padding fails for any
1000
+ This operation may produce a definite failure if the padding fails for any
1001
1001
reason.
1002
1002
1003
1003
If all the operations referred to by the `target` handle pad
1004
- properly, the transform succeeds. Otherwise the transform silently fails.
1004
+ properly, the transform succeeds. Otherwise the transform produces a
1005
+ silenceable failure.
1005
1006
The return handle points to only the subset of successfully produced
1006
1007
padded operations, which can be empty.
1007
1008
}];
@@ -1114,7 +1115,7 @@ def HoistPadOp : Op<Transform_Dialect, "structured.hoist_pad",
1114
1115
If any non-tensor.pad is passed, the transform emits a silenceable failure.
1115
1116
1116
1117
If all the operations referred to by the `target` handle padproperly, the
1117
- transform succeeds. Otherwise the transform silently fails .
1118
+ transform succeeds. Otherwise the transform produces a silenceable failure .
1118
1119
1119
1120
The return handle points to only the subset of successfully hoisted
1120
1121
tensor.pad operations, which can be empty.
@@ -1240,10 +1241,11 @@ def ScalarizeOp : Op<Transform_Dialect, "structured.scalarize",
1240
1241
#### Return modes:
1241
1242
1242
1243
This operation ignores non-Linalg ops and drops them in the return.
1243
- This operation produces `definiteFailure` if the scalarization fails for any
1244
+ This operation produces definite failure if the scalarization fails for any
1244
1245
reason.
1245
1246
If all the operations referred to by the `target` handle scalarize
1246
- properly, the transform succeeds. Otherwise the transform silently fails.
1247
+ properly, the transform succeeds. Otherwise the transform produces a
1248
+ silenceable failure.
1247
1249
1248
1250
The return handle points to only the subset of successfully produced
1249
1251
tiled-by-1 operations, which can be empty.
@@ -1351,7 +1353,8 @@ def RewriteInDestinationPassingStyleOp : Op<
1351
1353
1352
1354
This operation ignores non-unsupported ops and drops them from the return.
1353
1355
If all the operations referred to by the `target` handle generalize
1354
- properly, the transform succeeds. Otherwise the transform silently fails.
1356
+ properly, the transform succeeds. Otherwise the transform produces a
1357
+ silenceable failure.
1355
1358
The return handle points to a subset of successfully produced operations:
1356
1359
- `tensor.pad` case, the returned handle points to the tensor.insert_slice.
1357
1360
- `tensor.generate` case, the returned handle points to the linalg.generic.
@@ -1444,13 +1447,13 @@ def SplitReductionOp : Op<Transform_Dialect, "structured.split_reduction",
1444
1447
#### Return modes
1445
1448
1446
1449
This operation ignores non-Linalg ops and drops them in the return.
1447
- This operation produces `definiteFailure` if the splitting fails for any
1450
+ This operation produces a definite failure if the splitting fails for any
1448
1451
reason.
1449
1452
1450
1453
If all the operations referred to by the `target` handle split
1451
- properly, the transform succeeds. Otherwise the transform silently fails.
1452
- The 4 returned handles points to only the subset of successfully produced
1453
- computational operations, which can all be empty.
1454
+ properly, the transform succeeds. Otherwise the transform produces a
1455
+ silenceable failure. The 4 returned handles points to only the subset of
1456
+ successfully produced computational operations, which can all be empty.
1454
1457
This 4 returned handles point to:
1455
1458
- the init op (or tensor_alloc op if use_alloc = true),
1456
1459
- the fill op used to initialize the neutral element,
@@ -1910,7 +1913,7 @@ def TileUsingForallOp :
1910
1913
Tiling is applied by either specifying `num_threads` or `tile_size`. If
1911
1914
`num_threads` is specified, then the tile size for each dimension `i` is
1912
1915
calculated dynamically via `ceilDiv(dimSize[i], num_threads[i])`.
1913
- `num_threads` and `tile_size` can be either static index attributes or
1916
+ `num_threads` and `tile_size` can be either static index attributes or
1914
1917
operation handles (or a mix thereof). Operation handles must be mapped to
1915
1918
exactly one op that has exactly one result of index type.
1916
1919
@@ -1935,7 +1938,7 @@ def TileUsingForallOp :
1935
1938
1936
1939
If all the operations referred to by the `target` handle tile
1937
1940
successfully, the transform succeeds.
1938
- Otherwise the transform silently fails .
1941
+ Otherwise the transform produces a silenceable failure .
1939
1942
1940
1943
The two returned handles point to only the subset of successfully produced
1941
1944
tiled operations, which can all be empty.
@@ -2066,7 +2069,7 @@ def VectorizeChildrenAndApplyPatternsOp :
2066
2069
2067
2070
#### Return modes:
2068
2071
2069
- This operation produces `definiteFailure` if vectorization fails for any
2072
+ This operation produces a definite failure if vectorization fails for any
2070
2073
reason.
2071
2074
The operation always returns the handle to the target op that is expected
2072
2075
to be isolated from above.
@@ -2103,7 +2106,7 @@ def VectorizeOp : Op<Transform_Dialect, "structured.vectorize",
2103
2106
[DeclareOpInterfaceMethods<MemoryEffectsOpInterface>,
2104
2107
TransformOpInterface, ReportTrackingListenerFailuresOpTrait]> {
2105
2108
let description = [{
2106
- Vectorize the target ops, which must be Linalg ops.
2109
+ Vectorize the target ops, which must be Linalg ops.
2107
2110
2108
2111
Use the optional vector sizes to specify exactly what configuration the
2109
2112
vectorizer should use. It will then use masked vectors of the specified
@@ -2133,7 +2136,7 @@ def VectorizeOp : Op<Transform_Dialect, "structured.vectorize",
2133
2136
This operation produces a silenceable failure if at least one target op is
2134
2137
not a Linalg op or fails to vectorize. It produces a definite failure if
2135
2138
the dynamic vector sizes (SSA values) do not satisfy the constraints
2136
- mentioned above.
2139
+ mentioned above.
2137
2140
}];
2138
2141
2139
2142
let arguments = (ins TransformHandleTypeInterface:$target,
0 commit comments