File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
mlir/lib/Dialect/ArmSME/Transforms Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -244,9 +244,8 @@ struct AssignTileIDsPattern
244
244
245
245
// Set all operations dependent on `tileOp` to use the same tile ID.
246
246
// This is a naive tile allocation scheme, but works for common cases. For
247
- // example, as this only allocates tile IDs to existing ops, it can't
248
- // solve cases like this (%tileA and %tileB come from different root
249
- // operations):
247
+ // example, as this only allocates tile IDs to existing ops, it can't solve
248
+ // cases like this (%tileA and %tileB come from different root operations):
250
249
//
251
250
// %tile = scf.if %some_cond -> vector<[4]x[4]xi32> {
252
251
// scf.yield %tileA {tile_id = 0} : vector<[4]x[4]xi32>
@@ -255,9 +254,9 @@ struct AssignTileIDsPattern
255
254
// }
256
255
//
257
256
// This case would require allocating a new tile for the result of the
258
- // scf.if, and moving the contents of %tileA or %tileB to result tile
259
- // (based on the %some_cond). Find all the ops that (transitively) depend
260
- // on this tile.
257
+ // scf.if, and moving the contents of %tileA or %tileB to result tile (based
258
+ // on the %some_cond).
259
+ // Find all the ops that (transitively) depend on this tile.
261
260
SetVector<Operation *> dependantOps;
262
261
findDependantOps (tileOp->getResult (0 ), dependantOps);
263
262
auto tileIDAttr = rewriter.getI32IntegerAttr (*tileId);
Original file line number Diff line number Diff line change @@ -351,10 +351,10 @@ struct VectorLegalizationPass
351
351
SmallVectorImpl<Type> &types) -> std::optional<LogicalResult> {
352
352
if (!isMultipleOfSMETileVectorType (vectorType))
353
353
return std::nullopt;
354
- auto smeTileTileCount = getNumberOfSMETilesForVectorType (vectorType);
354
+ auto smeTileCount = getNumberOfSMETilesForVectorType (vectorType);
355
355
auto smeTileType =
356
356
getSMETileTypeForElement (vectorType.getElementType ());
357
- types = SmallVector<Type>(smeTileTileCount , smeTileType);
357
+ types = SmallVector<Type>(smeTileCount , smeTileType);
358
358
return success ();
359
359
});
360
360
You can’t perform that action at this time.
0 commit comments