File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Dialect/ArmSME/Transforms Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ struct ConvertArmSMESpillsAndFillsToLLVM : public ConvertToLLVMPattern {
270
270
// touches (i.e. a single tile slice).
271
271
{
272
272
rewriter.setInsertionPoint (op);
273
- // Swap the in-memory tile's contents into ZA before the op.
273
+ // Swap the contents of ZA and the in-memory tile before the op.
274
274
emitTileSwap ();
275
275
rewriter.setInsertionPointAfter (op);
276
276
// Swap the tile back out to memory again after the op.
@@ -818,6 +818,7 @@ struct ConvertArmSMEToLLVMPass
818
818
}
819
819
};
820
820
821
+ // / Helper to register `ConvertArmSMEOpToLLVMPattern` patterns.
821
822
template <typename ... Pattern>
822
823
static void
823
824
addArmSMEConversionPatterns (RewritePatternSet &patterns,
Original file line number Diff line number Diff line change @@ -235,8 +235,8 @@ struct AssignTileIDsPattern
235
235
if (!tileIsInMemory)
236
236
setDiscardableIntAttr (kTilesInUseAttr , tilesInUse);
237
237
else {
238
- // If we could not find a real tile, set use a virtual tile ID (ID >= 16).
239
- // A later pass will insert the necessary spills and reloads.
238
+ // If we could not find a real tile ID, use an in-memory tile ID (ID >=
239
+ // 16). A later pass will insert the necessary spills and reloads.
240
240
tileId =
241
241
getDiscardableIntAttr (kNextInMemoryTileIdAttr , kInMemoryTileIdBase );
242
242
setDiscardableIntAttr (kNextInMemoryTileIdAttr , *tileId + 1 );
You can’t perform that action at this time.
0 commit comments